wok view ploticus/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (19 months ago)
parents 080c1dff8494
children 29df00e1e19d
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 }