wok view galculator/receipt @ rev 1112

iw: fake source tree before cd
author Christophe Lincoln <pankso@slitaz.org>
date Sat Jul 19 21:06:23 2008 +0200 (2008-07-19)
parents
children 61bc01878920
line source
1 # SliTaz package receipt.
3 PACKAGE="galculator"
4 VERSION="1.3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Graphical scientific calculator."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://galculator.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
30 }