main/libwebp: clarify license, improve abuild

This commit is contained in:
prspkt 2018-04-22 23:53:48 +00:00 committed by Natanael Copa
parent 21d7163fb3
commit a2d79e9459

View File

@ -4,18 +4,21 @@ pkgname=libwebp
pkgver=1.0.0 pkgver=1.0.0
pkgrel=0 pkgrel=0
pkgdesc="Libraries for working with WebP images" pkgdesc="Libraries for working with WebP images"
url="https://developers.google.com/speed/webp/" url="https://developers.google.com/speed/webp"
arch="all" arch="all"
license="BSD" license="BSD-3-Clause"
makedepends="libpng-dev libjpeg-turbo-dev tiff-dev giflib-dev makedepends="autoconf automake giflib-dev libjpeg-turbo-dev libpng-dev libtool
automake autoconf libtool" tiff-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.webmproject.org/releases/webp/libwebp-$pkgver.tar.gz" source="https://downloads.webmproject.org/releases/webp/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
prepare() {
default_prepare
./autogen.sh
}
build() { build() {
cd "$builddir" cd "$builddir"
sh autogen.sh
./configure \ ./configure \
--build=$CBUILD \ --build=$CBUILD \
--host=$CHOST \ --host=$CHOST \