wok-next annotate galculator/receipt @ rev 13605

Up: kmod (11)
author Christophe Lincoln <pankso@slitaz.org>
date Sat Nov 10 19:54:06 2012 +0100 (2012-11-10)
parents 8b79c3ee7ac2
children defeb8879c39
rev   line source
pankso@518 1 # SliTaz package receipt.
pankso@518 2
pankso@518 3 PACKAGE="galculator"
pankso@2184 4 VERSION="1.3.4"
pankso@518 5 CATEGORY="system-tools"
pankso@518 6 SHORT_DESC="Graphical scientific calculator."
pankso@518 7 MAINTAINER="pankso@slitaz.org"
pascal@2516 8 DEPENDS="gtk+ libglade xorg-libXdamage"
pankso@2184 9 BUILD_DEPENDS="perl pkg-config gtk+-dev libglade-dev xorg-xproto intltool"
pankso@518 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
pankso@518 11 WEB_SITE="http://galculator.sourceforge.net/"
pankso@518 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pankso@518 13
pankso@518 14 # Rules to configure and make the package.
pankso@518 15 compile_rules()
pankso@518 16 {
pankso@518 17 cd $src
pascal@12787 18 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
pascal@12787 19 export LDFLAGS="-Wl,--copy-dt-needed-entries"
pankso@518 20 ./configure \
pankso@518 21 --prefix=/usr \
pascal@1484 22 $CONFIGURE_ARGS &&
pascal@1484 23 make &&
pascal@12787 24 make DESTDIR=$DESTDIR 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
pankso@518 31 cp -a $_pkg/usr/bin $fs/usr
pankso@518 32 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
pankso@518 33 }
pankso@518 34