wok-6.x annotate libwebp/receipt @ rev 24616
updated gpgme and gpgme-dev (1.13.1 -> 1.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 07 08:02:36 2022 +0100 (2022-03-07) |
parents | 5ea0ce1cecc0 |
children | 805b047c4159 |
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@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@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 } |