wok-6.x annotate pem/receipt @ rev 24842

updated libunistring and libunistring-dev (0.9.10 -> 1.0)
author Hans-G?nter Theisgen
date Fri Mar 25 09:45:42 2022 +0100 (2022-03-25)
parents 6261073d1225
children
rev   line source
paul@18137 1 # SliTaz package receipt.
paul@18137 2
paul@18137 3 PACKAGE="pem"
paul@18137 4 VERSION="0.7.9"
paul@18137 5 CATEGORY="utilities"
paul@18137 6 SHORT_DESC="GNU Personal Expenses Manager."
paul@18137 7 MAINTAINER="paul@slitaz.org"
paul@18137 8 LICENSE="GPL3"
paul@18137 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@18137 10 WEB_SITE="http://www.gnu.org/software/pem/"
paul@18137 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
paul@18137 12
paul@18137 13 DEPENDS="perl"
paul@18137 14 BUILD_DEPENDS="perl"
paul@18137 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
paul@18137 23 # Rules to configure and make the package.
paul@18137 24 compile_rules()
paul@18137 25 {
paul@18137 26 ./configure \
paul@18137 27 --prefix=/usr \
paul@18137 28 $CONFIGURE_ARGS &&
paul@18137 29 make && make DESTDIR=$DESTDIR install
paul@18137 30 }
paul@18137 31
paul@18137 32 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@18137 33 genpkg_rules()
paul@18137 34 {
paul@18137 35 mkdir -p $fs/usr/share
paul@18137 36 cp -a $install/usr/bin $fs/usr
paul@18137 37 cp -a $install/usr/share/pem $fs/usr/share
paul@18137 38 }
paul@18137 39