wok-next view libwebp/receipt @ rev 21071
Update atkmm, cairo, cmake, db, elfutils, emacs, glib, glib-networking, glibmm, gobject-introspection, libsigc++, meson, openssl, zstd
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 13 00:46:54 2018 +0200 (2018-12-13) |
parents | f48456621a9d |
children | 5669e8b3be70 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libwebp"
4 VERSION="1.0.0"
5 CATEGORY="graphics"
6 SHORT_DESC="WebP image library"
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="Apache2"
9 WEB_SITE="https://developers.google.com/speed/webp/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/libwebp.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://storage.googleapis.com/downloads.webmproject.org/releases/webp/$TARBALL"
15 BUILD_DEPENDS="libpng16-dev libjpeg-turbo-dev tiff-dev giflib-dev"
16 SPLIT="$PACKAGE-apps $PACKAGE-dev"
18 compile_rules() {
19 ./configure \
20 --enable-libwebpmux \
21 --enable-libwebpdemux \
22 --enable-libwebpdecoder \
23 --enable-libwebpextras \
24 --enable-swap-16bit-csp \
25 --disable-static \
26 $CONFIGURE_ARGS &&
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 }