wok-current view ploticus/receipt @ rev 25571
updated ardour (2.8.14 -> 7.4.0)
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 11:12:29 2023 +0100 (18 months ago) |
parents | 080c1dff8494 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ploticus"
4 VERSION="2.42"
5 CATEGORY="misc"
6 SHORT_DESC="Data display engine."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL"
9 WEB_SITE="https://ploticus.sourceforge.net/"
11 #SOURCE="pl240src"
12 TARBALL="${PACKAGE}${VERSION/./}_src.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 DEPENDS="zlib xorg libpng"
16 BUILD_DEPENDS="zlib-dev xorg-dev libpng-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - https://sourceforge.net/projects/ploticus/files/ploticus/ 2>/dev/null | \
22 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
23 sed '/scope="row/!d;s|.*/ploticus/||;s|/.*||;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src/src
30 make || return 1
31 mkdir -p $DESTDIR/usr/bin
32 cp pl $DESTDIR/usr/bin
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 cp -a $install/usr $fs
39 }