Commit 6cb5bb5c authored by A. Wilcox's avatar A. Wilcox Committed by Natanael Copa

main/libwebp: modernise and add test suite

parent bc8c7687
......@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libwebp
pkgver=0.6.0
pkgrel=0
pkgrel=1
pkgdesc="Libraries for working with WebP images"
url="https://developers.google.com/speed/webp/"
arch="all"
......@@ -23,14 +23,18 @@ build() {
--disable-static \
--enable-libwebpmux \
--enable-libwebpdemux \
--enable-libwebpdecoder \
|| return 1
make || return 1
--enable-libwebpdecoder
make
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
make DESTDIR="$pkgdir" install
mkdir -p "$pkgdir"/usr/share/doc/$pkgname
install -Dm644 PATENTS README "$pkgdir"/usr/share/doc/$pkgname
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment