wok annotate plotdrop/receipt @ rev 11845
vanessa_adt: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Feb 27 08:26:19 2012 +0100 (2012-02-27) |
parents | f3327707164a |
children | 7896f0694ef6 |
rev | line source |
---|---|
pankso@4632 | 1 # SliTaz package receipt. |
pankso@4632 | 2 |
pankso@4632 | 3 PACKAGE="plotdrop" |
pankso@4632 | 4 VERSION="0.5.3" |
pankso@4632 | 5 CATEGORY="graphics" |
pankso@4632 | 6 SHORT_DESC="A minimal GTK frontend to GNUPlot." |
pascal@5005 | 7 DEPENDS="gnuplot gtk+ libxml2 expat xorg-libX11 libglade" |
pascal@10487 | 8 BUILD_DEPENDS="libglade-dev glib-dev" |
pankso@4632 | 9 MAINTAINER="pankso@slitaz.org" |
pankso@4632 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4632 | 11 WEB_SITE="http://plotdrop.sourceforge.net/" |
pankso@4632 | 12 WGET_URL="$SF_MIRROR/project/$PACKAGE/$TARBALL" |
pankso@4632 | 13 |
pankso@4632 | 14 # Rules to configure and make the package. |
pankso@4632 | 15 compile_rules() |
pankso@4632 | 16 { |
pankso@4632 | 17 cd $src |
pankso@4632 | 18 make PREFIX=/usr && |
pankso@4632 | 19 make PREFIX=/usr DESTDIR=$PWD/_pkg install |
pankso@4632 | 20 } |
pankso@4632 | 21 |
pankso@4632 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4632 | 23 genpkg_rules() |
pankso@4632 | 24 { |
pankso@4632 | 25 mkdir -p $fs/usr |
pankso@4632 | 26 cp -a $_pkg/usr/bin $fs/usr |
pankso@4632 | 27 cp -a $_pkg/usr/share $fs/usr |
pankso@4632 | 28 rm $fs/usr/share/$PACKAGE/*.png |
pankso@4632 | 29 } |