wok-next view libwebp/receipt @ rev 21078
Update png and Xorg in dependencies.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Dec 22 04:52:35 2018 +0200 (2018-12-22) |
parents | d5aab818505e |
children | 75632eca5b07 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libwebp"
4 VERSION="1.0.0"
5 CATEGORY="graphics"
6 SHORT_DESC="WebP image library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="Apache2"
9 WEB_SITE="https://developers.google.com/speed/webp/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libwebp.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$TARBALL"
15 BUILD_DEPENDS="libpng-dev libjpeg-turbo-dev tiff-dev giflib-dev"
16 SPLIT="$PACKAGE-apps $PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --enable-libwebpmux \
21 --enable-libwebpdemux \
22 --enable-libwebpdecoder \
23 --enable-libwebpextras \
24 --enable-swap-16bit-csp \
25 --disable-static \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 genpkg_rules() {
32 case $PACKAGE in
33 libwebp)
34 copy *.so*
35 ;;
36 libwebp-apps)
37 copy bin/
38 CAT="graphics|applications"
39 DEPENDS="giflib libjpeg-turbo libpng libwebp tiff"
40 ;;
41 libwebp-dev)
42 copy @dev
43 ;;
44 esac
45 }