wok-current view sc/receipt @ rev 8504

gcc+gcj: remove build dir after packing files, don't exit but return
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Feb 12 02:18:58 2011 +0100 (2011-02-12)
parents
children 0b4cf0d9e1b5
line source
1 # SliTaz package receipt.
3 PACKAGE="sc"
4 VERSION="7.16"
5 CATEGORY="office"
6 SHORT_DESC="Spreadsheet calculator."
7 MAINTAINER="paul@slitaz.org"
8 DEPENDS="ncurses"
9 BUILD_DEPENDS="ncurses-dev bison m4"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/"
12 WGET_URL="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 patch -p1 < ../stuff/7.16.patch || exit 1
19 make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/bin
27 for i in sc psc scqref; do
28 cp -a $src/$i $fs/usr/bin
29 done
30 }