wok view ledger/receipt @ rev 16614
libgd: dowgrade to 2.0.35 (it was a bad idea and not the moment to update)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu May 08 19:40:39 2014 +0200 (2014-05-08) |
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 }