wok annotate ledger/receipt @ rev 14293
Up: ecore-dev (1.7.5)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sun Apr 07 10:04:33 2013 +0200 (2013-04-07) |
parents | |
children | 2a5cc8208d36 |
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@13740 | 8 DEPENDS="pcre gmp" |
pascal@13740 | 9 BUILD_DEPENDS="pcre-dev gmp-dev" |
pascal@13740 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@13740 | 11 WEB_SITE="http://ledger-cli.org/" |
pascal@13740 | 12 WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL" |
pascal@13740 | 13 |
pascal@13740 | 14 # Rules to configure and make the package. |
pascal@13740 | 15 compile_rules() |
pascal@13740 | 16 { |
pascal@13740 | 17 cd $src |
pascal@13740 | 18 ./configure --prefix=/usr \ |
pascal@13740 | 19 $CONFIGURE_ARGS && |
pascal@13740 | 20 make && |
pascal@13740 | 21 make DESTDIR=$DESTDIR install |
pascal@13740 | 22 } |
pascal@13740 | 23 |
pascal@13740 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@13740 | 25 genpkg_rules() |
pascal@13740 | 26 { |
pascal@13740 | 27 mkdir -p $fs/usr/lib $fs/usr/share/ledger |
pascal@13740 | 28 cp -a $install/usr/bin $fs/usr |
pascal@13740 | 29 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@13740 | 30 |
pascal@13740 | 31 # copy sample file |
pascal@13740 | 32 cp -a $src/sample.dat $fs/usr/share/ledger |
pascal@13740 | 33 } |
pascal@13740 | 34 |