wok-next view ledger/receipt @ rev 17176

Up slitaz-tools
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Fri Sep 26 16:58:03 2014 +0200 (2014-09-26)
parents 01dc32ea5178
children 0ec6086e21d6
line source
1 # SliTaz package receipt.
3 PACKAGE="ledger"
4 VERSION="2.6.3"
5 CATEGORY="utilities"
6 SHORT_DESC="A double-entry accounting system that is accessed from the UNIX command-line."
7 MAINTAINER="paul@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ledger-cli.org/"
11 WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL"
13 DEPENDS="pcre gmp"
14 BUILD_DEPENDS="pcre-dev gmp-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure --prefix=/usr \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share/ledger
30 cp -a $install/usr/bin $fs/usr
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
33 # copy sample file
34 cp -a $src/sample.dat $fs/usr/share/ledger
35 }