wok view tnylpo/receipt @ rev 25574
asterisk: make install-headers inserted
author | Hans-G?nter Theisgen |
---|---|
date | Sat May 13 17:20:22 2023 +0100 (18 months ago) |
parents | 787a1807d2bb |
children | a5e183d53960 |
line source
1 # SliTaz package receipt.
3 PACKAGE="tnylpo"
4 VERSION="1.1.4"
5 CATEGORY="misc"
6 SHORT_DESC="Run CP/M-80 programs under Unix/Linux."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://gitlab.com/gbrein/tnylpo"
11 WGET_URL="$WEB_SITE/-/archive/$VERSION/$TARBALL"
13 DEPENDS="ncursesw"
14 BUILD_DEPENDS="ncursesw-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
19 sed '/tar.gz/!d;/data/d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 make
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $install/usr/share/man
32 cp -a $src/tnylpo $fs/usr/bin
33 cp -a $src/tnylpo-convert $fs/usr/bin
34 cp -a $src/tnylpo*.1 $install/usr/share/man
35 }