wok annotate galculator/receipt @ rev 15368

Up ipxe (1.0.0-20130925)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Oct 14 13:38:36 2013 +0000 (2013-10-14)
parents 5a3abfd72dc0
children b077bbb5a37c
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"
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 }