wok-stable view sc/receipt @ rev 11573

Fix build/host configure option in recipes which was not detecting the right ones well + tiny fixes.
author Antoine Bodin <gokhlayeh@slitaz.org>
date Mon Jan 02 23:06:18 2012 +0100 (2012-01-02)
parents 0b4cf0d9e1b5
children
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 || return 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 }