wok annotate plm2c/receipt @ rev 25193
updated python-genshi (0.7.3 -> 0.7.5)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 10:42:47 2022 +0100 (2022-07-13) |
parents | ca4434937abf |
children |
rev | line source |
---|---|
pascal@16742 | 1 # SliTaz package receipt. |
pascal@16742 | 2 |
pascal@16742 | 3 PACKAGE="plm2c" |
pascal@17820 | 4 VERSION="1.02" |
pascal@16742 | 5 CATEGORY="development" |
pascal@16742 | 6 SHORT_DESC="Convert PLM sources files to C language." |
pascal@16742 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@16742 | 8 LICENSE="unknown" |
pascal@16742 | 9 TARBALL="newplm.zip" |
pascal@16742 | 10 WEB_SITE="http://www.cpm.z80.de/source.html" |
pascal@16742 | 11 WGET_URL="http://www.cpm.z80.de/download/$TARBALL" |
pascal@16742 | 12 |
pascal@24794 | 13 # What is the latest version available today? |
pascal@24794 | 14 current_version() |
pascal@24794 | 15 { |
pascal@24794 | 16 wget -O - $WGET_URL 2>/dev/null | \ |
pascal@24794 | 17 busybox unzip -p /dev/stdin PLM2C.ZIP | \ |
pascal@24794 | 18 busybox unzip -p /dev/stdin plm2c/version.c | \ |
pascal@24794 | 19 sed 's|.*sion ||;s| .*||;q' |
pascal@24794 | 20 } |
pascal@24794 | 21 |
pascal@16742 | 22 # Rules to configure and make the package. |
pascal@16742 | 23 compile_rules() |
pascal@16742 | 24 { |
pascal@16742 | 25 unzip PLM2C.ZIP |
pascal@16742 | 26 cd plm2c |
pascal@16742 | 27 sed -i '/strcat/d' misc.h |
pascal@16742 | 28 make |
pascal@16742 | 29 } |
pascal@16742 | 30 |
pascal@16742 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16742 | 32 genpkg_rules() |
pascal@16742 | 33 { |
pascal@16742 | 34 mkdir -p $fs/usr/bin |
pascal@16742 | 35 cp -a $src/plm2c/plm2c $fs/usr/bin |
pascal@16742 | 36 } |