wok annotate galculator/receipt @ rev 13720

galculator: try to fix patching (again)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Dec 21 05:15:23 2012 +0000 (2012-12-21)
parents 985d65083db8
children 380ffe05937a
rev   line source
pankso@518 1 # SliTaz package receipt.
pankso@518 2
pankso@518 3 PACKAGE="galculator"
al@13718 4 VERSION="2.0.1"
pankso@518 5 CATEGORY="system-tools"
pankso@518 6 SHORT_DESC="Graphical scientific calculator."
pankso@518 7 MAINTAINER="pankso@slitaz.org"
al@13718 8 WEB_SITE="http://galculator.sourceforge.net/"
pankso@518 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@518 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@518 11
al@13718 12 DEPENDS="gtk+"
al@13718 13 BUILD_DEPENDS="gtk+-dev"
al@13718 14
pankso@518 15 # Rules to configure and make the package.
pankso@518 16 compile_rules()
pankso@518 17 {
al@13720 18 patch < $stuff/galculator-2.0.1-gtk2.patch
al@13718 19
pascal@12787 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12787 21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
al@13718 22 ./configure $CONFIGURE_ARGS &&
pascal@1484 23 make &&
al@13718 24 make install
pankso@518 25 }
pankso@518 26
pankso@518 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@518 28 genpkg_rules()
pankso@518 29 {
pankso@518 30 mkdir -p $fs/usr/share
al@13718 31 cp -a $install/usr/bin $fs/usr
al@13718 32 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@518 33 }