wok-next diff ledger/receipt @ rev 14881

Up ManaPlus
author Brenton Scott <admin@trixarian.net>
date Wed Jul 24 14:51:05 2013 +0200 (2013-07-24)
parents
children 2a5cc8208d36
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ledger/receipt	Wed Jul 24 14:51:05 2013 +0200
     1.3 @@ -0,0 +1,34 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ledger"
     1.7 +VERSION="2.6.3"
     1.8 +CATEGORY="utilities"
     1.9 +SHORT_DESC="A double-entry accounting system that is accessed from the UNIX command-line."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="pcre gmp"
    1.12 +BUILD_DEPENDS="pcre-dev gmp-dev"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://ledger-cli.org/" 
    1.15 +WGET_URL="http://ftp.newartisans.com/pub/ledger/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	./configure --prefix=/usr \
    1.22 +		$CONFIGURE_ARGS &&
    1.23 +	make &&
    1.24 +	make DESTDIR=$DESTDIR install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr/lib $fs/usr/share/ledger
    1.31 +	cp -a $install/usr/bin $fs/usr
    1.32 +	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.33 +	
    1.34 +	# copy sample file
    1.35 +	cp -a $src/sample.dat $fs/usr/share/ledger
    1.36 +}
    1.37 +