wok diff tnylpo/receipt @ rev 24240
updated perl-mime-types (2.17 -> 2.22)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Jan 02 07:21:29 2022 +0100 (2022-01-02) |
parents | |
children | fb22330086d8 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/tnylpo/receipt Sun Jan 02 07:21:29 2022 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="tnylpo" 1.7 +VERSION="1.1.4" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Run CP/M-80 programs under Unix/Linux." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +LICENSE="BSD" 1.12 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.13 +WEB_SITE="https://gitlab.com/gbrein/tnylpo" 1.14 +WGET_URL="$WEB_SITE/-/archive/$VERSION/$TARBALL" 1.15 + 1.16 +DEPENDS="ncursesw" 1.17 +BUILD_DEPENDS="ncursesw-dev" 1.18 + 1.19 +current_version() 1.20 +{ 1.21 + wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ 1.22 + sed '/tar.gz/!d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|;q' 1.23 +} 1.24 + 1.25 +# Rules to configure and make the package. 1.26 +compile_rules() 1.27 +{ 1.28 + make 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/bin $install/usr/share/man 1.35 + cp -a $src/tnylpo $fs/usr/bin 1.36 + cp -a $src/tnylpo-convert $fs/usr/bin 1.37 + cp -a $src/tnylpo*.1 $install/usr/share/man 1.38 +}