wok-next view libwebp/receipt @ rev 19747

perl-xml-parser: fix bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 08 11:37:15 2017 +0200 (2017-06-08)
parents 4048d48a47c1
children 9b83ae3e9ce7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libwebp"
4 VERSION="0.5.1"
5 CATEGORY="x-window"
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="x-window|applications"
42 DEPENDS="giflib libjpeg-turbo libpng libwebp tiff"
43 ;;
44 libwebp-dev)
45 copy @dev
46 ;;
47 esac
48 }