wok view libwebp/receipt @ rev 24849
updated libwebp and libwebp-dev (1.1.0 -> 1.2.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Mar 25 17:27:11 2022 +0100 (2022-03-25) |
parents | ac8ca9758df1 |
children | 7a8b9cd09212 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebp"
4 VERSION="1.2.2"
5 CATEGORY="x-window"
6 SHORT_DESC="WebP image library."
7 MAINTAINER="devl547@gmail.com"
8 LICENSE="BSD"
9 WEB_SITE="https://github.com/webmproject/libwebp"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS="autoconf automake jpeg-dev libtool"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --disable-static \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }