wok-current annotate plm2c/receipt @ rev 16742
Up slitaz-boot-scripts (5.6.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 10 10:35:54 2014 +0200 (2014-06-10) |
parents | |
children | ca4434937abf |
rev | line source |
---|---|
pascal@16742 | 1 # SliTaz package receipt. |
pascal@16742 | 2 |
pascal@16742 | 3 PACKAGE="plm2c" |
pascal@16742 | 4 VERSION="unknown" |
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 } |