wok-next annotate libwebp/receipt @ rev 20712
libtorrent: fix rtorrent building for non-64bit archs
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:13:53 2018 +0300 (2018-05-27) |
parents | 5841522533ec |
children | f48456621a9d |
rev | line source |
---|---|
al@19735 | 1 # SliTaz package receipt v2. |
devl547@17582 | 2 |
devl547@17582 | 3 PACKAGE="libwebp" |
al@20639 | 4 VERSION="1.0.0" |
al@19796 | 5 CATEGORY="graphics" |
al@19735 | 6 SHORT_DESC="WebP image library" |
pascal@17957 | 7 MAINTAINER="devl547@gmail.com" |
al@20639 | 8 LICENSE="Apache2" |
al@20639 | 9 WEB_SITE="https://developers.google.com/speed/webp/" |
al@20639 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/libwebp.html" |
devl547@17582 | 11 |
al@19693 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20639 | 13 WGET_URL="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$TARBALL" |
al@19693 | 14 |
al@20454 | 15 BUILD_DEPENDS="libpng16-dev libjpeg-turbo-dev tiff-dev giflib-dev" |
al@19693 | 16 SPLIT="libwebp-apps libwebp-dev" |
devl547@17582 | 17 |
al@20595 | 18 compile_rules() { |
al@19693 | 19 ./configure \ |
al@19693 | 20 --enable-libwebpmux \ |
al@19693 | 21 --enable-libwebpdemux \ |
al@19693 | 22 --enable-libwebpdecoder \ |
al@19693 | 23 --enable-libwebpextras \ |
al@19693 | 24 --enable-swap-16bit-csp \ |
al@19693 | 25 --disable-static \ |
al@19693 | 26 $CONFIGURE_ARGS && |
al@20595 | 27 make && |
al@20595 | 28 make install |
devl547@17582 | 29 } |
devl547@17582 | 30 |
al@20595 | 31 genpkg_rules() { |
al@19735 | 32 case $PACKAGE in |
al@19735 | 33 libwebp) |
al@19735 | 34 copy *.so* |
al@19735 | 35 ;; |
al@19735 | 36 libwebp-apps) |
al@19735 | 37 copy bin/ |
al@19796 | 38 CAT="graphics|applications" |
al@20454 | 39 DEPENDS="giflib libjpeg-turbo libpng16 libwebp tiff" |
al@19735 | 40 ;; |
al@19735 | 41 libwebp-dev) |
al@19735 | 42 copy @dev |
al@19735 | 43 ;; |
al@19735 | 44 esac |
devl547@17582 | 45 } |