wok-6.x view ledger/receipt @ rev 14590
drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 00:27:59 2013 +0000 (2013-05-27) |
parents | |
children | 2a5cc8208d36 |
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 DEPENDS="pcre gmp"
9 BUILD_DEPENDS="pcre-dev gmp-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://ledger-cli.org/"
12 WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share/ledger
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 # copy sample file
32 cp -a $src/sample.dat $fs/usr/share/ledger
33 }