wok-next view libwebp/receipt @ rev 20454
Choose between libpng16 and libpng12
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Feb 28 17:32:31 2018 +0200 (2018-02-28) |
parents | 9b83ae3e9ce7 |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libwebp"
4 VERSION="0.6.0"
5 CATEGORY="graphics"
6 SHORT_DESC="WebP image library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://www.webmproject.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --enable-libwebpmux \
23 --enable-libwebpdemux \
24 --enable-libwebpdecoder \
25 --enable-libwebpextras \
26 --enable-swap-16bit-csp \
27 --disable-static \
28 $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 case $PACKAGE in
36 libwebp)
37 copy *.so*
38 ;;
39 libwebp-apps)
40 copy bin/
41 CAT="graphics|applications"
42 DEPENDS="giflib libjpeg-turbo libpng16 libwebp tiff"
43 ;;
44 libwebp-dev)
45 copy @dev
46 ;;
47 esac
48 }