wok view ponyprog/receipt @ rev 24626

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 07 17:32:18 2022 +0000 (2022-03-07)
parents 642b9a68f92a
children 29df00e1e19d
line source
1 # SliTaz package receipt.
3 PACKAGE="ponyprog"
4 VERSION="2.08c"
5 CATEGORY="system-tools"
6 SHORT_DESC="AVR/PIC COM/LPT devices programmer software"
7 MAINTAINER="psychomaniak@xakep.ru"
8 LICENSE="GPL"
9 WEB_SITE="http://www.lancos.com/prog.html"
10 SOURCE="PonyProg2000"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="xorg-libXaw"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/ponyprog/files/PonyProg%20sources/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/PonyProg%20sources/||;s|/.*||;q'
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/bin
28 cp -a $src/bin/${PACKAGE}2000 $fs/usr/bin
29 }