wok view tnylpo/receipt @ rev 24142

linux-aufs: git checkout problem ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Nov 15 08:46:59 2021 +0000 (2021-11-15)
parents
children fb22330086d8
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;s|.*/tnylpo-\(.*\).tar.gz".*|\1|;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 }