wok annotate linapple/receipt @ rev 11007

Up: gdb to 7.3.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Oct 13 03:15:29 2011 +0000 (2011-10-13)
parents
children 9bb4e660579f
rev   line source
slaxemulator@7575 1 # SliTaz package receipt.
slaxemulator@7575 2
slaxemulator@7575 3 PACKAGE="linapple"
slaxemulator@7575 4 VERSION="1.1b"
slaxemulator@7575 5 CATEGORY="misc"
slaxemulator@7575 6 SHORT_DESC="Apple //e emulator."
slaxemulator@7575 7 MAINTAINER="pascal.bellard@slitaz.org"
slaxemulator@7575 8 TARBALL="$PACKAGE-src$VERSION.tar.bz2"
slaxemulator@7575 9 WEB_SITE="http://linapple.sourceforge.net/"
slaxemulator@7575 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
slaxemulator@7575 11 BUILD_DEPENDS="gcc3 libsdl-dev zlib-dev"
slaxemulator@7575 12 DEPENDS="gcc-lib-base libsdl zlib"
slaxemulator@7575 13 CONFIG_FILES="/etc/linapple.conf"
slaxemulator@7575 14 TAGS="emulator apple2"
slaxemulator@7575 15
slaxemulator@7575 16 # Rules to configure and make the package.
slaxemulator@7575 17 compile_rules()
slaxemulator@7575 18 {
slaxemulator@7575 19 mv $PACKAGE-src_$VERSION $src 2> /dev/null
slaxemulator@7575 20 cd $src/src
slaxemulator@7575 21 grep -q /usr/share/apple2 Applewin.cpp ||
slaxemulator@7575 22 sed -i 's|.*REGISTRY.*|\tchdir("/usr/share/apple2");\n&|' Applewin.cpp
slaxemulator@7575 23 make CC=g++-3
slaxemulator@7575 24 }
slaxemulator@7575 25
slaxemulator@7575 26 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7575 27 genpkg_rules()
slaxemulator@7575 28 {
slaxemulator@7575 29 mkdir -p $fs/usr/share/apple2 $fs/usr/bin $fs/etc
slaxemulator@7575 30 cp $src/linapple $fs/usr/bin
slaxemulator@7575 31 cp $src/*.bmp $fs/usr/share/apple2
slaxemulator@7575 32 cp $src/linapple.conf $fs/etc
slaxemulator@7575 33 ln -s /etc/linapple.conf $fs/usr/share/apple2
slaxemulator@7575 34 }