mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 16:21:38 +01:00
41 lines
1.2 KiB
Plaintext
41 lines
1.2 KiB
Plaintext
# 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"
|