wok-6.x view yaze-ag/receipt @ rev 25510
Update some web_site
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 12 20:36:56 2023 +0000 (20 months ago) |
parents | 922f061231c2 |
children |
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="https://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 }