wok view plotdrop/receipt @ rev 25678
Patch ghostscript CVE-2023-36664
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 08 14:12:03 2024 +0100 (5 months ago) |
parents | 080c1dff8494 |
children |
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="https://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 }