diff options
author | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-05-20 16:32:37 -0400 |
---|---|---|
committer | Kiyoshi Aman <aphrael@alpinelinux.org> | 2011-05-20 16:32:37 -0400 |
commit | 733aa0cb23eda28582b03ce952385ca452cabe0e (patch) | |
tree | 66474e0e6b5285e19b4f17f590fb71ec61129fc6 | |
parent | 1af36cea4fea09e7d4b38bcbb5f3b1055e08c1c4 (diff) | |
download | aports-733aa0cb23eda28582b03ce952385ca452cabe0e.tar.bz2 aports-733aa0cb23eda28582b03ce952385ca452cabe0e.tar.xz |
testing/libwebp: new aport
-rw-r--r-- | testing/libwebp/APKBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/libwebp/APKBUILD b/testing/libwebp/APKBUILD new file mode 100644 index 0000000000..080a293d97 --- /dev/null +++ b/testing/libwebp/APKBUILD @@ -0,0 +1,33 @@ +# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com> +# Maintainer: +pkgname=libwebp +pkgver=0.1.2 +pkgrel=0 +pkgdesc="Libraries for working with WebP images" +url="http://code.google.com/speed/webp/index.html" +arch="all" +license="BSD" +depends= +depends_dev= +makedepends="libpng-dev jpeg-dev automake autoconf libtool" +install="" +subpackages="$pkgname-dev $pkgname-doc" +source="http://webp.googlecode.com/files/libwebp-$pkgver.tar.gz" + +_builddir="$srcdir/$pkgname-$pkgver" + +build() { + cd "$_builddir" + sh autogen.sh + ./configure --prefix=/usr || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + mkdir -p "$pkgdir"/usr/share/doc/$pkgname + install -Dm644 PATENTS README "$pkgdir"/usr/share/doc/$pkgname +} + +md5sums="5534f6e3c8b9f5851a9a5b56bf78f2b0 libwebp-0.1.2.tar.gz" |