wok-current view galculator/receipt @ rev 14840

Up: grisbi (0.8.9)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 17 23:12:48 2013 +0200 (2013-07-17)
parents 985d65083db8
children 380ffe05937a
line source
1 # SliTaz package receipt.
3 PACKAGE="galculator"
4 VERSION="2.0.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Graphical scientific calculator."
7 MAINTAINER="pankso@slitaz.org"
8 WEB_SITE="http://galculator.sourceforge.net/"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 DEPENDS="gtk+"
13 BUILD_DEPENDS="gtk+-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 patch < $stuff/galculator-2.0.1-gtk2.patch
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make 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 $install/usr/bin $fs/usr
32 cp -a $install/usr/share/$PACKAGE $fs/usr/share
33 }