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