wok-next view libwebp/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents cac2c0130f0d
children d5aab818505e
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="libpng16-dev libjpeg-turbo-dev tiff-dev giflib-dev"
16 SPLIT="libwebp-apps libwebp-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 libpng16 libwebp tiff"
40 ;;
41 libwebp-dev)
42 copy @dev
43 ;;
44 esac
45 }