wok-current annotate ledger/receipt @ rev 23288

updated perl-apache-dbi (1.07 -> 1.12)
author Hans-G?nter Theisgen
date Sun Mar 29 15:03:00 2020 +0100 (2020-03-29)
parents 2a5cc8208d36
children ede1d184d5c5
rev   line source
pascal@13740 1 # SliTaz package receipt.
pascal@13740 2
pascal@13740 3 PACKAGE="ledger"
pascal@13740 4 VERSION="2.6.3"
pascal@13740 5 CATEGORY="utilities"
pascal@13740 6 SHORT_DESC="A double-entry accounting system that is accessed from the UNIX command-line."
pascal@13740 7 MAINTAINER="paul@slitaz.org"
pascal@15379 8 LICENSE="BSD"
pascal@13740 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@20669 10 WEB_SITE="https://ledger-cli.org/"
pascal@13740 11 WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL"
pascal@13740 12
pascal@15379 13 DEPENDS="pcre gmp"
pascal@15379 14 BUILD_DEPENDS="pcre-dev gmp-dev"
pascal@15379 15
pascal@13740 16 # Rules to configure and make the package.
pascal@13740 17 compile_rules()
pascal@13740 18 {
pascal@13740 19 cd $src
pascal@13740 20 ./configure --prefix=/usr \
pascal@13740 21 $CONFIGURE_ARGS &&
pascal@13740 22 make &&
pascal@13740 23 make DESTDIR=$DESTDIR install
pascal@13740 24 }
pascal@13740 25
pascal@13740 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13740 27 genpkg_rules()
pascal@13740 28 {
pascal@13740 29 mkdir -p $fs/usr/lib $fs/usr/share/ledger
pascal@13740 30 cp -a $install/usr/bin $fs/usr
pascal@13740 31 cp -a $install/usr/lib/*.so* $fs/usr/lib
pascal@13740 32
pascal@13740 33 # copy sample file
pascal@13740 34 cp -a $src/sample.dat $fs/usr/share/ledger
pascal@13740 35 }
pascal@13740 36