wok-current annotate linapple/receipt @ rev 13375
Up wine (1.4.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 17 14:39:13 2012 +0200 (2012-09-17) |
parents | 9bb4e660579f |
children | f4c22f009037 |
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@12806 | 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" |
pascal@12806 | 11 BUILD_DEPENDS="libsdl-dev zlib-dev curl-dev libzip-dev" |
pascal@12806 | 12 DEPENDS="gcc-lib-base libsdl zlib curl libzip" |
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 cd $src/src |
slaxemulator@7575 | 20 grep -q /usr/share/apple2 Applewin.cpp || |
slaxemulator@7575 | 21 sed -i 's|.*REGISTRY.*|\tchdir("/usr/share/apple2");\n&|' Applewin.cpp |
pascal@12807 | 22 make CXXFLAGS="-O3 -I/usr/lib/libzip/include -I/usr/include/SDL" |
slaxemulator@7575 | 23 } |
slaxemulator@7575 | 24 |
slaxemulator@7575 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7575 | 26 genpkg_rules() |
slaxemulator@7575 | 27 { |
slaxemulator@7575 | 28 mkdir -p $fs/usr/share/apple2 $fs/usr/bin $fs/etc |
slaxemulator@7575 | 29 cp $src/linapple $fs/usr/bin |
slaxemulator@7575 | 30 cp $src/*.bmp $fs/usr/share/apple2 |
slaxemulator@7575 | 31 cp $src/linapple.conf $fs/etc |
slaxemulator@7575 | 32 ln -s /etc/linapple.conf $fs/usr/share/apple2 |
slaxemulator@7575 | 33 } |