wok annotate sc/receipt @ rev 5795

Speedup some builds
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 11 11:54:04 2010 +0200 (2010-07-11)
parents
children 0b4cf0d9e1b5
rev   line source
paul@4539 1 # SliTaz package receipt.
paul@4539 2
paul@4539 3 PACKAGE="sc"
paul@4539 4 VERSION="7.16"
paul@4539 5 CATEGORY="office"
paul@4539 6 SHORT_DESC="Spreadsheet calculator."
paul@4539 7 MAINTAINER="paul@slitaz.org"
paul@4539 8 DEPENDS="ncurses"
paul@4539 9 BUILD_DEPENDS="ncurses-dev bison m4"
paul@4539 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
paul@4539 11 WEB_SITE="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/"
paul@4539 12 WGET_URL="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$TARBALL"
paul@4539 13
paul@4539 14 # Rules to configure and make the package.
paul@4539 15 compile_rules()
paul@4539 16 {
paul@4539 17 cd $src
paul@4539 18 patch -p1 < ../stuff/7.16.patch || exit 1
paul@4539 19 make
paul@4539 20 }
paul@4539 21
paul@4539 22 # Rules to gen a SliTaz package suitable for Tazpkg.
paul@4539 23 genpkg_rules()
paul@4539 24 {
paul@4539 25 mkdir -p $fs/usr/bin
paul@4539 26
paul@4539 27 for i in sc psc scqref; do
paul@4539 28 cp -a $src/$i $fs/usr/bin
paul@4539 29 done
paul@4539 30 }
paul@4539 31