wok annotate pem/receipt @ rev 25320
updated sqlite, sqlite-dev, libsqlite and libsqlite-tcl (3.32.1 -> 3.39.2)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 07:37:22 2022 +0100 (2022-07-22) |
parents | 6261073d1225 |
children | d79ed38ace18 |
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 |