wok view galculator/receipt @ rev 13719

galculator: try to fix patching; lxappearance, gsynaptics: tidy gtk+ depends
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 04:34:21 2012 +0000 (2012-12-21)
parents defeb8879c39
children 5a3abfd72dc0
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 cd $src
19 patch -p1 < $stuff/galculator-2.0.1-gtk2.patch
21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
22 export LDFLAGS="-Wl,--copy-dt-needed-entries"
23 ./configure $CONFIGURE_ARGS &&
24 make &&
25 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 }