wok diff linapple/receipt @ rev 10383
udev-light: fix path to pci.ids
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 23 18:07:41 2011 +0200 (2011-05-23) |
parents | |
children | 9bb4e660579f |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/linapple/receipt Mon May 23 18:07:41 2011 +0200 1.3 @@ -0,0 +1,34 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="linapple" 1.7 +VERSION="1.1b" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="Apple //e emulator." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-src$VERSION.tar.bz2" 1.12 +WEB_SITE="http://linapple.sourceforge.net/" 1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.14 +BUILD_DEPENDS="gcc3 libsdl-dev zlib-dev" 1.15 +DEPENDS="gcc-lib-base libsdl zlib" 1.16 +CONFIG_FILES="/etc/linapple.conf" 1.17 +TAGS="emulator apple2" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + mv $PACKAGE-src_$VERSION $src 2> /dev/null 1.23 + cd $src/src 1.24 + grep -q /usr/share/apple2 Applewin.cpp || 1.25 + sed -i 's|.*REGISTRY.*|\tchdir("/usr/share/apple2");\n&|' Applewin.cpp 1.26 + make CC=g++-3 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + mkdir -p $fs/usr/share/apple2 $fs/usr/bin $fs/etc 1.33 + cp $src/linapple $fs/usr/bin 1.34 + cp $src/*.bmp $fs/usr/share/apple2 1.35 + cp $src/linapple.conf $fs/etc 1.36 + ln -s /etc/linapple.conf $fs/usr/share/apple2 1.37 +}