wok annotate ploticus/receipt @ rev 25346

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