wok view yaze-ag/receipt @ rev 23881

Add utftpd & yaze-ng
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 13 21:34:44 2020 +0000 (2020-07-13)
parents
children 922f061231c2
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 # Rules to configure and make the package.
14 compile_rules()
15 {
16 sed "s|\\([^=]\\) \\(\\\$(...DIR\\)|\\1 $DESTDIR\\2|" \
17 Makefile_linux_32_i586 > Makefile
18 sed -i 's|/local||g' Makefile yaze.* doc/*
19 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/lib
20 make &&
21 make install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/lib $fs/usr
30 ln -fs yaze $fs/usr/bin/cpm
31 ln -fs yaze $fs/usr/bin/z80
32 mv $install/usr/lib/yaze/doc $install/usr
33 }