wok annotate sc/receipt @ rev 24074
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 08 09:18:48 2021 +0000 (2021-07-08) |
parents | 164fcaca1cd0 |
children | 934055de50e2 |
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" |
pascal@15587 | 8 LICENSE="PublicDomain" |
paul@4539 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
paul@4539 | 10 WEB_SITE="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/" |
paul@4539 | 11 WGET_URL="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$TARBALL" |
paul@4539 | 12 |
pascal@15587 | 13 DEPENDS="ncurses" |
pascal@15587 | 14 BUILD_DEPENDS="ncurses-dev bison m4" |
pascal@15587 | 15 |
paul@4539 | 16 # Rules to configure and make the package. |
paul@4539 | 17 compile_rules() |
paul@4539 | 18 { |
pascal@17672 | 19 export LDFLAGS="$LDFLAGS -ltinfo" |
pascal@8974 | 20 patch -p1 < $stuff/7.16.patch || return 1 |
paul@4539 | 21 make |
paul@4539 | 22 } |
paul@4539 | 23 |
paul@4539 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
paul@4539 | 25 genpkg_rules() |
paul@4539 | 26 { |
paul@4539 | 27 mkdir -p $fs/usr/bin |
paul@4539 | 28 |
paul@4539 | 29 for i in sc psc scqref; do |
paul@4539 | 30 cp -a $src/$i $fs/usr/bin |
paul@4539 | 31 done |
paul@4539 | 32 } |