wok view gperf/receipt @ rev 25160
updated py3k-cython (0.29.13 -> 0.29.30)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 01 09:49:47 2022 +0100 (2022-07-01) |
parents | 43ec8702a7d1 |
children | d79ed38ace18 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gperf"
4 VERSION="3.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU gperf is a perfect hash function generator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.gnu.org/software/gperf/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS
27 make -j 1 &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 }