wok-next view libwebp/receipt @ rev 21080
Update tiff (4.0.10): libs -> into libtiff, apps -> into tiff
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Dec 24 02:07:02 2018 +0200 (2018-12-24) |
parents | 5669e8b3be70 |
children | d026631bbebb |
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 libtiff"
40 ;;
41 libwebp-dev)
42 copy @dev
43 ;;
44 esac
45 }