blob: 8a7a2d4db383f68d79a2edac7a9a6f440133f15d (
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
41
42
43
44
45
46
47
48
49
50
|
# Contributor: Kiyoshi Aman <kiyoshi.aman@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libwebp
pkgver=0.5.1
pkgrel=0
pkgdesc="Libraries for working with WebP images"
url="https://developers.google.com/speed/webp/"
arch="all"
license="BSD"
depends=
depends_dev=
makedepends="libpng-dev libjpeg-turbo-dev tiff-dev giflib-dev
automake autoconf libtool"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz"
_builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$_builddir"
sh autogen.sh
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--disable-static \
--enable-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdecoder \
|| 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
}
tools() {
pkgdesc="The WebP command line tools"
mkdir -p "$subpkgdir"/usr/
mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
}
md5sums="3d7db92ebba5b4f679413d25c6040881 libwebp-0.5.1.tar.gz"
sha256sums="6ad66c6fcd60a023de20b6856b03da8c7d347269d76b1fd9c3287e8b5e8813df libwebp-0.5.1.tar.gz"
sha512sums="931b2dce29ee664d9a0bbc614ed19992c3ca52dd886d504dcca2df82c8f815e723bd03be7ae35a186ae555b09b0e31a17eb834871ff0728ab15ab24548b630ee libwebp-0.5.1.tar.gz"
|