wok-next view libwebp/receipt @ rev 20669

vde2: up / fix build
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 11 14:21:30 2018 +0300 (2018-05-11)
parents 5841522533ec
children f48456621a9d
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/stable/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 }