wok diff sc/receipt @ rev 5883

vpnc: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 21 14:29:53 2010 +0200 (2010-07-21)
parents
children 0b4cf0d9e1b5
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/sc/receipt	Wed Jul 21 14:29:53 2010 +0200
     1.3 @@ -0,0 +1,31 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="sc"
     1.7 +VERSION="7.16"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Spreadsheet calculator."
    1.10 +MAINTAINER="paul@slitaz.org"
    1.11 +DEPENDS="ncurses"
    1.12 +BUILD_DEPENDS="ncurses-dev bison m4"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14 +WEB_SITE="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/"
    1.15 +WGET_URL="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$TARBALL"
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	patch -p1 < ../stuff/7.16.patch || exit 1
    1.22 +	make
    1.23 +}
    1.24 +
    1.25 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.26 +genpkg_rules()
    1.27 +{
    1.28 +	mkdir -p $fs/usr/bin
    1.29 +
    1.30 +	for i in sc psc scqref; do
    1.31 +	cp -a $src/$i $fs/usr/bin
    1.32 +	done
    1.33 +}
    1.34 +