SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "yaze-ag"

# SliTaz package receipt.

PACKAGE="yaze-ag"
VERSION="2.40.5"
CATEGORY="misc"
SHORT_DESC="Yet Another z80 (CP/M) Emulator"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-${VERSION}_with_keytrans.tar.gz"
WEB_SITE="https://www.mathematik.uni-ulm.de/users/ag/yaze-ag"
WGET_URL="$WEB_SITE/devel/$TARBALL"

# What is the latest version available today?
current_version()
{
    wget -O - $WEB_SITE 2>/dev/null | \
    sed '/release/!d;s|.*release ||;s|).*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    sed "s|\\([^=]\\) \\(\\\$(...DIR\\)|\\1 $DESTDIR\\2|" \
        Makefile_linux_32_i586 > Makefile
    sed -i 's|/local||g' Makefile yaze.* doc/*
    mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/lib
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/bin $fs/usr
    cp -a $install/usr/lib $fs/usr
    ln -fs yaze $fs/usr/bin/cpm
    ln -fs yaze $fs/usr/bin/z80
    mv $install/usr/lib/yaze/doc $install/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)