wok-next annotate ledger/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | 2a5cc8208d36 |
children | 342b30daff76 |
rev | line source |
---|---|
al@20575 | 1 # SliTaz package receipt v2. |
pascal@13740 | 2 |
pascal@13740 | 3 PACKAGE="ledger" |
pascal@13740 | 4 VERSION="2.6.3" |
pascal@13740 | 5 CATEGORY="utilities" |
al@20575 | 6 SHORT_DESC="A double-entry accounting system that is accessed from the UNIX \ |
al@20575 | 7 command-line" |
pascal@13740 | 8 MAINTAINER="paul@slitaz.org" |
pascal@15379 | 9 LICENSE="BSD" |
al@20575 | 10 WEB_SITE="http://ledger-cli.org/" |
al@20575 | 11 |
pascal@13740 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13740 | 13 WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL" |
pascal@13740 | 14 |
pascal@15379 | 15 BUILD_DEPENDS="pcre-dev gmp-dev" |
pascal@15379 | 16 |
al@20575 | 17 compile_rules() { |
al@20575 | 18 ./configure $CONFIGURE_ARGS && |
al@20575 | 19 fix libtool && |
pascal@13740 | 20 make && |
al@20575 | 21 make DESTDIR=$DESTDIR install || return 1 |
al@20575 | 22 |
al@20575 | 23 # copy sample file |
al@20575 | 24 install -Dm644 $src/sample.dat $install/usr/share/ledger/sample.dat |
pascal@13740 | 25 } |
pascal@13740 | 26 |
al@20575 | 27 genpkg_rules() { |
al@20575 | 28 copy @std |
al@20575 | 29 DEPENDS="pcre gmp" |
pascal@13740 | 30 } |