wok view tnylpo/receipt @ rev 24384

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Feb 06 16:04:43 2022 +0000 (2022-02-06)
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 }