wok-next annotate plotdrop/receipt @ rev 18924
glibc: fix build (thanks az_ua)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Feb 25 14:47:17 2016 +0200 (2016-02-25) |
parents | 4f58f85ea594 |
children | f48456621a9d |
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." |
pankso@4632 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
pankso@4632 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4632 | 10 WEB_SITE="http://plotdrop.sourceforge.net/" |
pankso@4632 | 11 WGET_URL="$SF_MIRROR/project/$PACKAGE/$TARBALL" |
pankso@4632 | 12 |
pascal@15002 | 13 DEPENDS="gnuplot gtk+ libxml2 expat xorg-libX11 libglade" |
pascal@15002 | 14 BUILD_DEPENDS="libglade-dev glib-dev" |
pascal@15002 | 15 |
pankso@4632 | 16 # Rules to configure and make the package. |
pankso@4632 | 17 compile_rules() |
pankso@4632 | 18 { |
pankso@4632 | 19 cd $src |
pankso@4632 | 20 make PREFIX=/usr && |
pascal@15002 | 21 make PREFIX=/usr DESTDIR=$DESTDIR install |
pankso@4632 | 22 } |
pankso@4632 | 23 |
pankso@4632 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4632 | 25 genpkg_rules() |
pankso@4632 | 26 { |
pankso@4632 | 27 mkdir -p $fs/usr |
pascal@15002 | 28 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 29 cp -a $install/usr/share $fs/usr |
pankso@4632 | 30 rm $fs/usr/share/$PACKAGE/*.png |
pankso@4632 | 31 } |