wok-6.x annotate galculator/receipt @ rev 1847
Up x11vnc (0.9.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Dec 13 09:36:41 2008 +0000 (2008-12-13) |
parents | 70b2d74dff92 |
children | 01552a9c541b |
rev | line source |
---|---|
pankso@518 | 1 # SliTaz package receipt. |
pankso@518 | 2 |
pankso@518 | 3 PACKAGE="galculator" |
pankso@518 | 4 VERSION="1.3.1" |
pankso@518 | 5 CATEGORY="system-tools" |
pankso@518 | 6 SHORT_DESC="Graphical scientific calculator." |
pankso@518 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@518 | 8 DEPENDS="gtk+ libglade" |
pascal@1484 | 9 BUILD_DEPENDS="perl pkg-config gtk+-dev libglade-dev xorg-xproto" |
pankso@518 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@518 | 11 WEB_SITE="http://galculator.sourceforge.net/" |
pankso@518 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@518 | 13 |
pankso@518 | 14 # Rules to configure and make the package. |
pankso@518 | 15 compile_rules() |
pankso@518 | 16 { |
pankso@518 | 17 cd $src |
pankso@518 | 18 ./configure \ |
pankso@518 | 19 --prefix=/usr \ |
pascal@1484 | 20 $CONFIGURE_ARGS && |
pascal@1484 | 21 make && |
pankso@518 | 22 make DESTDIR=$PWD/_pkg install |
pankso@518 | 23 } |
pankso@518 | 24 |
pankso@518 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@518 | 26 genpkg_rules() |
pankso@518 | 27 { |
pankso@518 | 28 mkdir -p $fs/usr/share |
pankso@518 | 29 cp -a $_pkg/usr/bin $fs/usr |
pankso@518 | 30 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share |
pankso@518 | 31 } |
pankso@518 | 32 |