wok-6.x annotate galculator/receipt @ rev 16199

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