wok view yaze-ag/receipt @ rev 24955

updated nano and nano-doc (4.8 -> 6.2)
author Hans-G?nter Theisgen
date Sat Apr 23 16:34:46 2022 +0100 (2022-04-23)
parents a5ee74db1fee
children 232ba43d30af
line source
1 # SliTaz package receipt.
3 PACKAGE="yaze-ag"
4 VERSION="2.40.5"
5 CATEGORY="misc"
6 SHORT_DESC="Yet Another z80 (CP/M) Emulator"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-${VERSION}_with_keytrans.tar.gz"
10 WEB_SITE="http://www.mathematik.uni-ulm.de/users/ag/yaze-ag"
11 WGET_URL="$WEB_SITE/devel/$TARBALL"
13 # What is the latest version available today?
14 current_version()
15 {
16 wget -O - $WEB_SITE 2>/dev/null | \
17 sed '/release/!d;s|.*release ||;s|).*||;q'
18 }
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 sed "s|\\([^=]\\) \\(\\\$(...DIR\\)|\\1 $DESTDIR\\2|" \
24 Makefile_linux_32_i586 > Makefile
25 sed -i 's|/local||g' Makefile yaze.* doc/*
26 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/lib
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib $fs/usr
37 ln -fs yaze $fs/usr/bin/cpm
38 ln -fs yaze $fs/usr/bin/z80
39 mv $install/usr/lib/yaze/doc $install/usr
40 }