wok view galculator/receipt @ rev 13718
galculator: up 2.0.1
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 21 03:26:03 2012 +0000 (2012-12-21) |
parents | 372173be45ed |
children | 985d65083db8 |
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 -p1 < $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 }