wok annotate 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
rev   line source
devl547@17582 1 # SliTaz package receipt.
devl547@17582 2
devl547@17582 3 PACKAGE="libwebp"
Hans-G?nter@23120 4 VERSION="1.1.0"
devl547@17582 5 CATEGORY="x-window"
devl547@17582 6 SHORT_DESC="WebP image library."
pascal@17957 7 MAINTAINER="devl547@gmail.com"
pascal@18334 8 LICENSE="BSD"
Hans-G?nter@21336 9 WEB_SITE="https://github.com/webmproject/libwebp"
Hans-G?nter@21336 10
devl547@17582 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
Hans-G?nter@21336 12 WGET_URL="${WEB_SITE}/archive/v$VERSION.tar.gz"
devl547@17582 13
devl547@17582 14 DEPENDS=""
Hans-G?nter@23120 15 BUILD_DEPENDS="autoconf automake libtool"
Hans-G?nter@21336 16
Hans-G?nter@21336 17 HOST_ARCH="i486 arm"
devl547@17582 18
pascal@24055 19 current_version()
pascal@24055 20 {
pascal@24055 21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
pascal@24055 22 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
pascal@24055 23 }
pascal@24055 24
devl547@17582 25 # Rules to configure and make the package.
devl547@17582 26 compile_rules()
devl547@17582 27 {
Hans-G?nter@23120 28 ./autogen.sh &&
Hans-G?nter@21336 29 ./configure \
Hans-G?nter@21336 30 --disable-static \
Hans-G?nter@21336 31 $CONFIGURE_ARGS &&
Hans-G?nter@21336 32 make -j 1 &&
devl547@17582 33 make DESTDIR=$DESTDIR install
devl547@17582 34 }
devl547@17582 35
devl547@17582 36 # Rules to gen a SliTaz package suitable for Tazpkg.
devl547@17582 37 genpkg_rules()
devl547@17582 38 {
devl547@17582 39 mkdir -p $fs/usr/lib
Hans-G?nter@23120 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
devl547@17582 41 }