wok annotate icoutils/receipt @ rev 25030

giblib: inserted configure parameters
author Hans-G?nter Theisgen
date Fri May 20 10:23:32 2022 +0100 (2022-05-20)
parents e2ece35b14a1
children
rev   line source
pascal@13338 1 # SliTaz package receipt.
pascal@13338 2
pascal@13338 3 PACKAGE="icoutils"
Hans-G?nter@21042 4 VERSION="0.32.3"
pascal@13338 5 CATEGORY="misc"
pascal@13338 6 SHORT_DESC="Microsoft Windows icon and cursor files convertion tools."
pascal@13338 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@14999 8 LICENSE="GPL3"
Hans-G?nter@21042 9 WEB_SITE="https://www.nongnu.org/icoutils/"
Hans-G?nter@21042 10
pascal@13338 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13338 12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
pascal@13338 13
pascal@13339 14 DEPENDS="libpng"
pascal@13339 15 BUILD_DEPENDS="libpng-dev libpng"
pascal@13338 16
pascal@24415 17 # What is the latest version available today?
pascal@24415 18 current_version()
pascal@24415 19 {
pascal@24415 20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 22 }
pascal@24415 23
pascal@13338 24 # Rules to configure and make the package.
pascal@13338 25 compile_rules()
pascal@13338 26 {
Hans-G?nter@21042 27 ./configure \
Hans-G?nter@21042 28 --prefix=/usr \
Hans-G?nter@21042 29 --mandir=/usr/share/man \
pascal@13338 30 $CONFIGURE_ARGS &&
Hans-G?nter@21042 31 make -j 1 &&
pascal@13339 32 make DESTDIR=$DESTDIR install
pascal@13338 33 }
pascal@13338 34
pascal@13338 35 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13338 36 genpkg_rules()
pascal@13338 37 {
pascal@13338 38 mkdir -p $fs/usr
pascal@14999 39 cp -a $install/usr/bin $fs/usr
pascal@13338 40 }