wok annotate ledger/receipt @ rev 18820
syslinux/iso2exe.sh: -f should keep flavor info
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 16 10:28:02 2016 +0100 (2016-01-16) |
parents | 01dc32ea5178 |
children | a78610b2eb47 |
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@13740 | 10 WEB_SITE="http://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@13740 | 16 # Rules to configure and make the package. |
pascal@13740 | 17 compile_rules() |
pascal@13740 | 18 { |
pascal@13740 | 19 cd $src |
pascal@13740 | 20 ./configure --prefix=/usr \ |
pascal@13740 | 21 $CONFIGURE_ARGS && |
pascal@13740 | 22 make && |
pascal@13740 | 23 make DESTDIR=$DESTDIR install |
pascal@13740 | 24 } |
pascal@13740 | 25 |
pascal@13740 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13740 | 27 genpkg_rules() |
pascal@13740 | 28 { |
pascal@13740 | 29 mkdir -p $fs/usr/lib $fs/usr/share/ledger |
pascal@13740 | 30 cp -a $install/usr/bin $fs/usr |
pascal@13740 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13740 | 32 |
pascal@13740 | 33 # copy sample file |
pascal@13740 | 34 cp -a $src/sample.dat $fs/usr/share/ledger |
pascal@13740 | 35 } |
pascal@13740 | 36 |