wok view ledger/receipt @ rev 17683
Up crosstool-ng (1.20.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Feb 20 21:41:13 2015 +0100 (2015-02-20) |
parents | 01dc32ea5178 |
children | a78610b2eb47 |
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 }