wok-6.x diff 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 diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/yaze-ag/receipt	Mon Jul 13 21:34:44 2020 +0000
     1.3 @@ -0,0 +1,33 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="yaze-ag"
     1.7 +VERSION="2.40.5"
     1.8 +CATEGORY="misc"
     1.9 +SHORT_DESC="Yet Another z80 (CP/M) Emulator"
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +LICENSE="GPL2"
    1.12 +TARBALL="$PACKAGE-${VERSION}_with_keytrans.tar.gz"
    1.13 +WEB_SITE="http://www.mathematik.uni-ulm.de/users/ag/yaze-ag"
    1.14 +WGET_URL="$WEB_SITE/devel/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +	sed "s|\\([^=]\\) \\(\\\$(...DIR\\)|\\1 $DESTDIR\\2|" \
    1.20 +		Makefile_linux_32_i586 > Makefile
    1.21 +	sed -i 's|/local||g' Makefile yaze.* doc/*
    1.22 +	mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/lib
    1.23 +	make &&
    1.24 +	make install
    1.25 +}
    1.26 +
    1.27 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.28 +genpkg_rules()
    1.29 +{
    1.30 +	mkdir -p $fs/usr
    1.31 +	cp -a $install/usr/bin $fs/usr
    1.32 +	cp -a $install/usr/lib $fs/usr
    1.33 +	ln -fs yaze $fs/usr/bin/cpm
    1.34 +	ln -fs yaze $fs/usr/bin/z80
    1.35 +	mv $install/usr/lib/yaze/doc $install/usr
    1.36 +}