# Contributor: Kiyoshi Aman # Maintainer: Natanael Copa pkgname=libwebp pkgver=0.3.0 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 libjpeg-turbo-dev tiff-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 rm "$pkgdir"/usr/lib/*.la || return 1 mkdir -p "$pkgdir"/usr/share/doc/$pkgname install -Dm644 PATENTS README "$pkgdir"/usr/share/doc/$pkgname } md5sums="4183f4f51ada98976f14e7bd51f30938 libwebp-0.3.0.tar.gz" sha256sums="8903fca40ece603b9cb20d32105168da7e2a33bebbd4d89001a3c8741ef03ddb libwebp-0.3.0.tar.gz" sha512sums="8218abb5e994ab5c89c9d3360efb7c8bf448879caed581bdc3ed7febb65f9eaf597059efcd130352f7e38c25af9508f850e09a7490270e903e228355148c2c30 libwebp-0.3.0.tar.gz"