wok-next view libwebp/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | c4e53a39395a |
children | cac2c0130f0d |
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 compile_rules() {
18 ./configure \
19 --enable-libwebpmux \
20 --enable-libwebpdemux \
21 --enable-libwebpdecoder \
22 --enable-libwebpextras \
23 --enable-swap-16bit-csp \
24 --disable-static \
25 $CONFIGURE_ARGS &&
26 fix libtool &&
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 }