summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-05-25 06:06:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-05-25 06:06:18 +0000
commit151bdfe1775c0b9ed6782bde97c5e9fb5353d0d6 (patch)
treec5c373f99b7ab24b296ceab5deb4596445372a65 /main
parent7945f609e9ae56b62164aac68519a2b148bd43f3 (diff)
parent4f99a323ab37b1b53a961f3ac06cdd52275a1695 (diff)
downloadaports-151bdfe1775c0b9ed6782bde97c5e9fb5353d0d6.tar.bz2
aports-151bdfe1775c0b9ed6782bde97c5e9fb5353d0d6.tar.xz
Merge git://inari.aerdan.org/var/git/aports
Diffstat (limited to 'main')
-rw-r--r--main/libwebp/APKBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/main/libwebp/APKBUILD b/main/libwebp/APKBUILD
new file mode 100644
index 000000000..080a293d9
--- /dev/null
+++ b/main/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"