wok annotate libwebp/receipt @ rev 25669

Up lapack (3.12.0), less (633), libarchive (3.7.2), liblouis (3.28.0), libmicrohttpd (1.0.1), libpng (1.6.43), libssh (0.10.6), libtasn1 (4.19.0), libtirpc (1.3.4), libvpx (1.14.0), libwebp (1.3.2), logrotate (3.21.0), lua (5.4.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 25 16:11:20 2024 +0000 (2 months ago)
parents 805b047c4159
children
rev   line source
devl547@17582 1 # SliTaz package receipt.
devl547@17582 2
devl547@17582 3 PACKAGE="libwebp"
pascal@25669 4 VERSION="1.3.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 }