wok-next view libwebp/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | dd145c435e4b |
children | 5841522533ec |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://downloads.webmproject.org/releases/webp/$TARBALL"
14 BUILD_DEPENDS="libpng16-dev libjpeg-turbo-dev tiff-dev giflib-dev"
15 SPLIT="libwebp-apps libwebp-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --enable-libwebpmux \
22 --enable-libwebpdemux \
23 --enable-libwebpdecoder \
24 --enable-libwebpextras \
25 --enable-swap-16bit-csp \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 case $PACKAGE in
35 libwebp)
36 copy *.so*
37 ;;
38 libwebp-apps)
39 copy bin/
40 CAT="graphics|applications"
41 DEPENDS="giflib libjpeg-turbo libpng16 libwebp tiff"
42 ;;
43 libwebp-dev)
44 copy @dev
45 ;;
46 esac
47 }