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