wok annotate libwebp/receipt @ rev 25037

Up glza (0.11.4)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 21 21:38:29 2022 +0000 (23 months ago)
parents ac8ca9758df1
children 7a8b9cd09212
rev   line source
devl547@17582 1 # SliTaz package receipt.
devl547@17582 2
devl547@17582 3 PACKAGE="libwebp"
Hans-G?nter@24849 4 VERSION="1.2.2"
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@24849 15 BUILD_DEPENDS="autoconf automake jpeg-dev 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@24299 21 wget -O - ${WGET_URL%/arch*}/tags 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@24849 32 make &&
Hans-G?nter@24849 33 make install DESTDIR=$DESTDIR
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 {
Hans-G?nter@24849 39 cook_copy_files *.so*
devl547@17582 40 }