wok-current view plotdrop/receipt @ rev 24996
updated nim (0.19.6 -> 1.6.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 10:46:30 2022 +0100 (2022-05-16) |
parents | 93aeb50b727e |
children | 7dd01dedad38 |
line source
1 # SliTaz package receipt.
3 PACKAGE="plotdrop"
4 VERSION="0.5.4"
5 CATEGORY="graphics"
6 SHORT_DESC="A minimal GTK frontend to GNUPlot."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://plotdrop.sourceforge.net/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/project/$PACKAGE/$TARBALL"
14 DEPENDS="expat gnuplot gtk+ libglade libxml2 xorg-libX11"
15 BUILD_DEPENDS="glib-dev libglade-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/plotdrop/files/ 2>/dev/null | \
21 sed '/scope="row/!d;/plotdrop/!d;/tar/!d;s|.*/plotdrop-||;s|.tar.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make PREFIX=/usr &&
28 make PREFIX=/usr DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share $fs/usr
39 rm $fs/usr/share/$PACKAGE/*.png
40 }