wok annotate yaze-ag/receipt @ rev 24240

updated perl-mime-types (2.17 -> 2.22)
author Hans-G?nter Theisgen
date Sun Jan 02 07:21:29 2022 +0100 (2022-01-02)
parents
children 922f061231c2
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@23881 13 # Rules to configure and make the package.
pascal@23881 14 compile_rules()
pascal@23881 15 {
pascal@23881 16 sed "s|\\([^=]\\) \\(\\\$(...DIR\\)|\\1 $DESTDIR\\2|" \
pascal@23881 17 Makefile_linux_32_i586 > Makefile
pascal@23881 18 sed -i 's|/local||g' Makefile yaze.* doc/*
pascal@23881 19 mkdir -p $DESTDIR/usr/bin $DESTDIR/usr/lib
pascal@23881 20 make &&
pascal@23881 21 make install
pascal@23881 22 }
pascal@23881 23
pascal@23881 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@23881 25 genpkg_rules()
pascal@23881 26 {
pascal@23881 27 mkdir -p $fs/usr
pascal@23881 28 cp -a $install/usr/bin $fs/usr
pascal@23881 29 cp -a $install/usr/lib $fs/usr
pascal@23881 30 ln -fs yaze $fs/usr/bin/cpm
pascal@23881 31 ln -fs yaze $fs/usr/bin/z80
pascal@23881 32 mv $install/usr/lib/yaze/doc $install/usr
pascal@23881 33 }