wok view plm2c/receipt @ rev 25058

linux-libre-wireless: rtl8821ae.ko & rtl8192ee.ko.xz are not in staging anymore
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 06 11:14:20 2022 +0000 (2022-06-06)
parents ca4434937abf
children
line source
1 # SliTaz package receipt.
3 PACKAGE="plm2c"
4 VERSION="1.02"
5 CATEGORY="development"
6 SHORT_DESC="Convert PLM sources files to C language."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="unknown"
9 TARBALL="newplm.zip"
10 WEB_SITE="http://www.cpm.z80.de/source.html"
11 WGET_URL="http://www.cpm.z80.de/download/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WGET_URL 2>/dev/null | \
17 busybox unzip -p /dev/stdin PLM2C.ZIP | \
18 busybox unzip -p /dev/stdin plm2c/version.c | \
19 sed 's|.*sion ||;s| .*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 unzip PLM2C.ZIP
26 cd plm2c
27 sed -i '/strcat/d' misc.h
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $src/plm2c/plm2c $fs/usr/bin
36 }