wok-current annotate gperf/receipt @ rev 24423
modified recipe for claws-mail-rssyl
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 11 16:50:00 2022 +0100 (2022-02-11) |
parents | 43ec8702a7d1 |
children | 5926178cd6fa |
rev | line source |
---|---|
pankso@874 | 1 # SliTaz package receipt. |
pankso@874 | 2 |
pankso@874 | 3 PACKAGE="gperf" |
Hans-G?nter@20990 | 4 VERSION="3.1" |
pascal@1423 | 5 CATEGORY="development" |
pankso@874 | 6 SHORT_DESC="GNU gperf is a perfect hash function generator." |
pankso@874 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15589 | 8 LICENSE="GPL3" |
Hans-G?nter@20990 | 9 WEB_SITE="https://www.gnu.org/software/gperf/" |
Hans-G?nter@20990 | 10 |
pankso@874 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@874 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
Hans-G?nter@20990 | 13 |
pankso@16083 | 14 HOST_ARCH="i486 arm" |
pankso@874 | 15 |
pascal@24336 | 16 # What is the latest version available today? |
pascal@24336 | 17 current_version() |
pascal@24336 | 18 { |
pascal@24336 | 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 21 } |
pascal@24336 | 22 |
pankso@874 | 23 # Rules to configure and make the package. |
pankso@874 | 24 compile_rules() |
pankso@874 | 25 { |
pankso@16083 | 26 ./configure $CONFIGURE_ARGS |
Hans-G?nter@20990 | 27 make -j 1 && |
Hans-G?nter@20990 | 28 make install |
pankso@874 | 29 } |
pankso@874 | 30 |
pankso@874 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@874 | 32 genpkg_rules() |
pankso@874 | 33 { |
pankso@874 | 34 mkdir -p $fs/usr |
pascal@15589 | 35 cp -a $install/usr/bin $fs/usr |
pankso@874 | 36 } |