wok-current annotate linapple/receipt @ rev 20911

updated fasm (1.73.04 -> 1.73.09)
author Hans-G?nter Theisgen
date Thu Feb 28 14:37:48 2019 +0100 (2019-02-28)
parents 9af0717a63c0
children 6ffd94343946
rev   line source
slaxemulator@7575 1 # SliTaz package receipt.
slaxemulator@7575 2
slaxemulator@7575 3 PACKAGE="linapple"
pascal@12806 4 VERSION="2a"
slaxemulator@7575 5 CATEGORY="misc"
slaxemulator@7575 6 SHORT_DESC="Apple //e emulator."
slaxemulator@7575 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15201 8 LICENSE="GPL2"
pascal@12806 9 TARBALL="$PACKAGE-src_$VERSION.tar.bz2"
slaxemulator@7575 10 WEB_SITE="http://linapple.sourceforge.net/"
slaxemulator@7575 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7575 12 CONFIG_FILES="/etc/linapple.conf"
slaxemulator@7575 13 TAGS="emulator apple2"
slaxemulator@7575 14
pascal@15201 15 DEPENDS="gcc-lib-base libsdl zlib curl libzip"
pascal@15201 16 BUILD_DEPENDS="libsdl-dev zlib-dev curl-dev libzip-dev"
pascal@15201 17
slaxemulator@7575 18 # Rules to configure and make the package.
slaxemulator@7575 19 compile_rules()
slaxemulator@7575 20 {
slaxemulator@7575 21 cd $src/src
slaxemulator@7575 22 grep -q /usr/share/apple2 Applewin.cpp ||
slaxemulator@7575 23 sed -i 's|.*REGISTRY.*|\tchdir("/usr/share/apple2");\n&|' Applewin.cpp
pascal@12807 24 make CXXFLAGS="-O3 -I/usr/lib/libzip/include -I/usr/include/SDL"
slaxemulator@7575 25 }
slaxemulator@7575 26
slaxemulator@7575 27 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7575 28 genpkg_rules()
slaxemulator@7575 29 {
slaxemulator@7575 30 mkdir -p $fs/usr/share/apple2 $fs/usr/bin $fs/etc
slaxemulator@7575 31 cp $src/linapple $fs/usr/bin
slaxemulator@7575 32 cp $src/*.bmp $fs/usr/share/apple2
slaxemulator@7575 33 cp $src/linapple.conf $fs/etc
slaxemulator@7575 34 ln -s /etc/linapple.conf $fs/usr/share/apple2
slaxemulator@7575 35 }