wok annotate plotdrop/receipt @ rev 25424
updated x265 and x265-dev (3.2 -> 3.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Aug 18 16:24:15 2022 +0100 (2022-08-18) |
parents | 93aeb50b727e |
children | 7dd01dedad38 |
rev | line source |
---|---|
pankso@4632 | 1 # SliTaz package receipt. |
pankso@4632 | 2 |
pankso@4632 | 3 PACKAGE="plotdrop" |
Hans-G?nter@21685 | 4 VERSION="0.5.4" |
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" |
Hans-G?nter@21685 | 9 WEB_SITE="http://plotdrop.sourceforge.net/" |
Hans-G?nter@21685 | 10 |
pankso@4632 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@4632 | 12 WGET_URL="$SF_MIRROR/project/$PACKAGE/$TARBALL" |
pankso@4632 | 13 |
Hans-G?nter@21685 | 14 DEPENDS="expat gnuplot gtk+ libglade libxml2 xorg-libX11" |
Hans-G?nter@21685 | 15 BUILD_DEPENDS="glib-dev libglade-dev" |
pascal@15002 | 16 |
pascal@24396 | 17 # What is the latest version available today? |
pascal@24396 | 18 current_version() |
pascal@24396 | 19 { |
pascal@24396 | 20 wget -O - https://sourceforge.net/projects/plotdrop/files/ 2>/dev/null | \ |
pascal@24396 | 21 sed '/scope="row/!d;/plotdrop/!d;/tar/!d;s|.*/plotdrop-||;s|.tar.*||;q' |
pascal@24396 | 22 } |
pascal@24396 | 23 |
pankso@4632 | 24 # Rules to configure and make the package. |
pankso@4632 | 25 compile_rules() |
pankso@4632 | 26 { |
pankso@4632 | 27 make PREFIX=/usr && |
pascal@15002 | 28 make PREFIX=/usr DESTDIR=$DESTDIR install |
pankso@4632 | 29 } |
pankso@4632 | 30 |
pankso@4632 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@4632 | 32 genpkg_rules() |
pankso@4632 | 33 { |
pankso@4632 | 34 mkdir -p $fs/usr |
Hans-G?nter@21685 | 35 |
Hans-G?nter@21685 | 36 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@21685 | 37 cp -a $install/usr/share $fs/usr |
Hans-G?nter@21685 | 38 |
pankso@4632 | 39 rm $fs/usr/share/$PACKAGE/*.png |
pankso@4632 | 40 } |