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