wok-next diff ledger/receipt @ rev 20714
netkit-rsh: typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun May 27 12:56:13 2018 +0300 (2018-05-27) |
parents | 2a5cc8208d36 |
children | 342b30daff76 |
line diff
1.1 --- a/ledger/receipt Sun Oct 20 22:08:25 2013 +0000 1.2 +++ b/ledger/receipt Sun May 27 12:56:13 2018 +0300 1.3 @@ -1,36 +1,30 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="ledger" 1.8 VERSION="2.6.3" 1.9 CATEGORY="utilities" 1.10 -SHORT_DESC="A double-entry accounting system that is accessed from the UNIX command-line." 1.11 +SHORT_DESC="A double-entry accounting system that is accessed from the UNIX \ 1.12 +command-line" 1.13 MAINTAINER="paul@slitaz.org" 1.14 LICENSE="BSD" 1.15 +WEB_SITE="http://ledger-cli.org/" 1.16 + 1.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 -WEB_SITE="http://ledger-cli.org/" 1.19 WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL" 1.20 1.21 -DEPENDS="pcre gmp" 1.22 BUILD_DEPENDS="pcre-dev gmp-dev" 1.23 1.24 -# Rules to configure and make the package. 1.25 -compile_rules() 1.26 -{ 1.27 - cd $src 1.28 - ./configure --prefix=/usr \ 1.29 - $CONFIGURE_ARGS && 1.30 +compile_rules() { 1.31 + ./configure $CONFIGURE_ARGS && 1.32 + fix libtool && 1.33 make && 1.34 - make DESTDIR=$DESTDIR install 1.35 + make DESTDIR=$DESTDIR install || return 1 1.36 + 1.37 + # copy sample file 1.38 + install -Dm644 $src/sample.dat $install/usr/share/ledger/sample.dat 1.39 } 1.40 1.41 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.42 -genpkg_rules() 1.43 -{ 1.44 - mkdir -p $fs/usr/lib $fs/usr/share/ledger 1.45 - cp -a $install/usr/bin $fs/usr 1.46 - cp -a $install/usr/lib/*.so* $fs/usr/lib 1.47 - 1.48 - # copy sample file 1.49 - cp -a $src/sample.dat $fs/usr/share/ledger 1.50 +genpkg_rules() { 1.51 + copy @std 1.52 + DEPENDS="pcre gmp" 1.53 } 1.54 -