wok view libwebp/receipt @ rev 24176

Add glza
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 30 18:02:41 2021 +0000 (2021-12-30)
parents 1c9d0ddcdeb7
children ac8ca9758df1
line source
1 # SliTaz package receipt.
3 PACKAGE="libwebp"
4 VERSION="1.1.0"
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 libtool"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 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 -j 1 &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }