wok-6.x view galculator/receipt @ rev 13156

zerobin: fix zerobin.u
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 17 08:53:48 2012 +0200 (2012-07-17)
parents 8b79c3ee7ac2
children defeb8879c39
line source
1 # SliTaz package receipt.
3 PACKAGE="galculator"
4 VERSION="1.3.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Graphical scientific calculator."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade xorg-libXdamage"
9 BUILD_DEPENDS="perl pkg-config gtk+-dev libglade-dev xorg-xproto intltool"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://galculator.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="-Wl,--copy-dt-needed-entries"
20 ./configure \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
33 }