wok-current view ledger/receipt @ rev 22968
updated jclic (0.3.2.9 -> 0.3.2.11)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 29 13:28:19 2020 +0100 (2020-02-29) |
parents | 2a5cc8208d36 |
children | ede1d184d5c5 |
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="https://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 }