wok-next view galculator/receipt @ rev 16807

Fix missings entries in Menu
author Stanislas Leduc <shann@slitaz.org>
date Wed Jul 09 18:46:01 2014 +0200 (2014-07-09)
parents c8bff8c1caa1
children 81c2bf22f7bb
line source
1 # SliTaz package receipt.
3 PACKAGE="galculator"
4 VERSION="2.1.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Graphical scientific calculator."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://galculator.sourceforge.net/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="gtk+"
15 BUILD_DEPENDS="gtk+-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 patch < $stuff/galculator-2.0.1-gtk2.patch
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="-Wl,--copy-dt-needed-entries"
24 ./configure --disable-quadmath \
25 $CONFIGURE_ARGS && make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/$PACKAGE $fs/usr/share
34 }