wok-6.x annotate extrema/receipt @ rev 6117

fbida: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 05 10:08:04 2010 +0200 (2010-09-05)
parents 6e90579538d6
children d1846ea90ecb
rev   line source
pankso@4329 1 # SliTaz package receipt.
pankso@4329 2
pankso@4329 3 PACKAGE="extrema"
pankso@4329 4 VERSION="4.4.0"
pankso@4329 5 CATEGORY="office"
pankso@4329 6 SHORT_DESC="Powerful visualization and data analysis tool."
pankso@4329 7 MAINTAINER="pankso@slitaz.org"
pankso@4329 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@5000 9 DEPENDS="gtk+-dev wxWidgets xorg-libXxf86vm"
pankso@4329 10 BUILD_DEPENDS="gtk+-dev"
pankso@4329 11 WEB_SITE="http://exsitewebware.com/extrema/"
pankso@4329 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@4935 13 TAGS="data visualization analysis"
pankso@4329 14
pankso@4329 15 # Rules to configure and make the package.
pankso@4329 16 compile_rules()
pankso@4329 17 {
pankso@4329 18 cd $src
pankso@4329 19 ./configure \
pankso@4329 20 --prefix=/usr \
pankso@4329 21 --enable-shared \
pankso@4329 22 $CONFIGURE_ARGS &&
pascal@5798 23 make -j 4 &&
pankso@4329 24 make DESTDIR=$PWD/_pkg install
pankso@4329 25 }
pankso@4329 26
pankso@4329 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@4329 28 genpkg_rules()
pankso@4329 29 {
pankso@4329 30 mkdir -p $fs/usr/lib $fs/usr/share
pankso@4329 31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pankso@4329 32 cp -a $_pkg/usr/share/extrema $fs/usr/share
pankso@4329 33 cp -a $_pkg/usr/bin $fs/usr
pankso@4329 34 }