wok-current annotate plm2c/receipt @ rev 20662
Up jansson (2.12)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 14 22:40:43 2019 +0100 (2019-01-14) |
parents | b5f37c66eddd |
children | 25f321eee88e |
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@16742 | 13 # Rules to configure and make the package. |
pascal@16742 | 14 compile_rules() |
pascal@16742 | 15 { |
pascal@16742 | 16 unzip PLM2C.ZIP |
pascal@16742 | 17 cd plm2c |
pascal@16742 | 18 sed -i '/strcat/d' misc.h |
pascal@16742 | 19 make |
pascal@16742 | 20 } |
pascal@16742 | 21 |
pascal@16742 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@16742 | 23 genpkg_rules() |
pascal@16742 | 24 { |
pascal@16742 | 25 mkdir -p $fs/usr/bin |
pascal@16742 | 26 cp -a $src/plm2c/plm2c $fs/usr/bin |
pascal@16742 | 27 } |