diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-17 21:43:39 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-17 21:43:39 -0500 |
commit | ab01ca5097f258bf87acff3cf70a1ccb235521ee (patch) | |
tree | 365237f38123c6fa3733f86253af17d7fc40622a | |
parent | 230f51bc6296b0601aaa3296ca1ba9d007e97130 (diff) | |
download | packages-ab01ca5097f258bf87acff3cf70a1ccb235521ee.tar.gz packages-ab01ca5097f258bf87acff3cf70a1ccb235521ee.tar.bz2 packages-ab01ca5097f258bf87acff3cf70a1ccb235521ee.tar.xz packages-ab01ca5097f258bf87acff3cf70a1ccb235521ee.zip |
user/libwebp: pull in, bump to 1.0.0, modernise
-rw-r--r-- | user/libwebp/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/user/libwebp/APKBUILD b/user/libwebp/APKBUILD new file mode 100644 index 000000000..e1d1c7184 --- /dev/null +++ b/user/libwebp/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: +pkgname=libwebp +pkgver=1.0.0 +pkgrel=0 +pkgdesc="Libraries for working with WebP images" +url="https://developers.google.com/speed/webp/" +arch="all" +license="BSD" +makedepends="libpng-dev libjpeg-turbo-dev tiff-dev giflib-dev" +subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" +source="https://downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz" + +build() { + cd "$builddir" + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --disable-static \ + --enable-libwebpmux \ + --enable-libwebpdemux \ + --enable-libwebpdecoder + make +} + +check() { + cd "$builddir" + make check +} + +package() { + cd "$builddir" + make DESTDIR="$pkgdir" install + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + install -Dm644 PATENTS README "$pkgdir"/usr/share/doc/$pkgname +} + +tools() { + pkgdesc="The WebP command line tools" + mkdir -p "$subpkgdir"/usr/ + mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ +} + +sha512sums="2af7036957722a3f1533fa2da0da15c76d7eb8ac98ec4ad5cf71dd4262f3d7c9897fb6b50befab83b7de22f0abceeb2c0ff52d60927513d40f8a41aa6a9abd99 libwebp-1.0.0.tar.gz" |