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