wok view ledger/receipt @ rev 13834
eboard: use libdl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 07 13:54:28 2013 +0100 (2013-01-07) |
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 }