wok-next view libwebp/receipt @ rev 19925

libftdi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 14 23:27:36 2017 +0200 (2017-10-14)
parents 4550df96633d
children dd145c435e4b
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="libpng-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 libpng libwebp tiff"
43 ;;
44 libwebp-dev)
45 copy @dev
46 ;;
47 esac
48 }