blob: 52863a0078c9a5cafe6e8a634357e28d94230def (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libwebp
pkgver=0.4.0
pkgrel=1
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 \
--build=$CBUILD \
--host=$CHOST \
--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="c8dd1d26eb9566833aba269b86d97e68 libwebp-0.4.0.tar.gz"
sha256sums="31913577e96386556855b41d210736449445fe96cfbe9289014e9b8afa944d69 libwebp-0.4.0.tar.gz"
sha512sums="b0229bcbdf04f667cb0957738a199e08a1340d936c88ef69ad6436da7280a337a94579f4f315b478b74a72a49c126be4222c36c5e2184d429750b9ddc76ff2d6 libwebp-0.4.0.tar.gz"
|