wok view sc/receipt @ rev 20656

tazpkg: do not assume . in search path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 13 11:43:59 2019 +0100 (2019-01-13)
parents 164fcaca1cd0
children 934055de50e2
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 LICENSE="PublicDomain"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/"
11 WGET_URL="http://www.ibiblio.org/pub/Linux/apps/financial/spreadsheet/$TARBALL"
13 DEPENDS="ncurses"
14 BUILD_DEPENDS="ncurses-dev bison m4"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 export LDFLAGS="$LDFLAGS -ltinfo"
20 patch -p1 < $stuff/7.16.patch || return 1
21 make
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
29 for i in sc psc scqref; do
30 cp -a $src/$i $fs/usr/bin
31 done
32 }