SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "tnylpo"

# SliTaz package receipt.

PACKAGE="tnylpo"
VERSION="1.1.4"
CATEGORY="misc"
SHORT_DESC="Run CP/M-80 programs under Unix/Linux."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://gitlab.com/gbrein/tnylpo"
WGET_URL="$WEB_SITE/-/archive/$VERSION/$TARBALL"

DEPENDS="ncursesw"
BUILD_DEPENDS="ncursesw-dev"

current_version()
{
    wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
    sed '/tar.gz/!d;/data/d;s|.*/tnylpo-\(.*\).tar.gz".*|\1|' | sort -Vr | sed q
}

# Rules to configure and make the package.
compile_rules()
{
    make
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $install/usr/share/man
    cp -a $src/tnylpo $fs/usr/bin
    cp -a $src/tnylpo-convert $fs/usr/bin
    cp -a $src/tnylpo*.1 $install/usr/share/man
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)