wok view tnylpo/receipt @ rev 25621

Add sngrep
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Aug 31 08:29:57 2023 +0000 (15 months ago)
parents fb22330086d8
children
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|;/tar.gz/d' | 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 }