wok annotate sc/receipt @ rev 8792
Fix compile_rules() for gitmail
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Tue Feb 22 23:44:49 2011 +0100 (2011-02-22) |
parents | 85124e73d218 |
children | 940b5937e496 |
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 |
gokhlayeh@8615 | 18 patch -p1 < ../stuff/7.16.patch || return 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 |