wok annotate galculator/receipt @ rev 16644

portmidi: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 12 20:31:51 2014 +0000 (2014-05-12)
parents c8bff8c1caa1
children 81c2bf22f7bb
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@16282 12 HOST_ARCH="i486 arm"
pankso@518 13
al@13718 14 DEPENDS="gtk+"
al@13718 15 BUILD_DEPENDS="gtk+-dev"
al@13718 16
pankso@518 17 # Rules to configure and make the package.
pankso@518 18 compile_rules()
pankso@518 19 {
al@13720 20 patch < $stuff/galculator-2.0.1-gtk2.patch
al@13718 21
pascal@12787 22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12787 23 export LDFLAGS="-Wl,--copy-dt-needed-entries"
mojo@16576 24 ./configure --disable-quadmath \
mojo@16576 25 $CONFIGURE_ARGS && make && 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 }