wok annotate ledger/receipt @ rev 24454

gnustep-back: added dependency icu
author Hans-G?nter Theisgen
date Wed Feb 16 07:53:02 2022 +0100 (2022-02-16)
parents a78610b2eb47
children
rev   line source
pascal@13740 1 # SliTaz package receipt.
pascal@13740 2
pascal@13740 3 PACKAGE="ledger"
pascal@13740 4 VERSION="2.6.3"
pascal@13740 5 CATEGORY="utilities"
pascal@13740 6 SHORT_DESC="A double-entry accounting system that is accessed from the UNIX command-line."
pascal@13740 7 MAINTAINER="paul@slitaz.org"
pascal@15379 8 LICENSE="BSD"
pascal@13740 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 10 WEB_SITE="https://ledger-cli.org/"
pascal@13740 11 WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL"
pascal@13740 12
pascal@15379 13 DEPENDS="pcre gmp"
pascal@15379 14 BUILD_DEPENDS="pcre-dev gmp-dev"
pascal@15379 15
pascal@24447 16 # What is the latest version available today?
pascal@24447 17 current_version()
pascal@24447 18 {
pascal@24447 19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
pascal@24447 21 }
pascal@24447 22
pascal@13740 23 # Rules to configure and make the package.
pascal@13740 24 compile_rules()
pascal@13740 25 {
pascal@13740 26 cd $src
pascal@13740 27 ./configure --prefix=/usr \
pascal@13740 28 $CONFIGURE_ARGS &&
pascal@13740 29 make &&
pascal@13740 30 make DESTDIR=$DESTDIR install
pascal@13740 31 }
pascal@13740 32
pascal@13740 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13740 34 genpkg_rules()
pascal@13740 35 {
pascal@13740 36 mkdir -p $fs/usr/lib $fs/usr/share/ledger
pascal@13740 37 cp -a $install/usr/bin $fs/usr
pascal@13740 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13740 39
pascal@13740 40 # copy sample file
pascal@13740 41 cp -a $src/sample.dat $fs/usr/share/ledger
pascal@13740 42 }
pascal@13740 43