wok-current diff eduke32/receipt @ rev 2717
Add: eduke32
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Thu Apr 23 19:57:40 2009 +0200 (2009-04-23) |
parents | |
children | ad0ca4c550c3 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/eduke32/receipt Thu Apr 23 19:57:40 2009 +0200 1.3 @@ -0,0 +1,46 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="eduke32" 1.7 +VERSION="20090313" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="" 1.10 +MAINTAINER="mallory@sweetpeople.org" 1.11 +DEPENDS="libSDL libsdl-mixer libvorbis gtk+" 1.12 +BUILD_DEPENDS="libSDL-dev libsdl-mixer-dev libvorbis-dev gtk+-dev" 1.13 +TARBALL="$PACKAGE""_src_20090131.zip" 1.14 +WEB_SITE="http://www.eduke32.com/" 1.15 +WGET_URL="http://wiki.eduke32.com/stuff/source_code/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + mv eduke32_src_20090131 eduke32-20090313 1.21 + cd $src 1.22 + wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff 1.23 + patch -p1 < eduke32_src_20090313.diff 1.24 + make 1.25 + mkdir $src/_pkg 1.26 + cp eduke32 mapster32 $src/_pkg 1.27 +} 1.28 + 1.29 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.30 +genpkg_rules() 1.31 +{ 1.32 + echo "Building package tree" 1.33 + mkdir -p $fs/usr/bin \ 1.34 + $fs/usr/share/games/eduke32 \ 1.35 + $fs/usr/share/applications \ 1.36 + $fs/usr/share/pixmaps \ 1.37 + 1.38 + echo "Copying package files" 1.39 + cp -a $src/eduke32 $src/mapster32 $fs/usr/bin 1.40 + 1.41 + echo "Downloading game data" 1.42 + wget http://people.slitaz.org/~mallory/stuff/eduke32/duke3d.grp -O $fs/usr/share/games/eduke32/duke3d.grp 1.43 + 1.44 + echo "Copying metadata" 1.45 + cp stuff/eduke32.desktop $fs/usr/share/applications 1.46 + cp stuff/eduke32.png $fs/usr/share/pixmaps 1.47 +} 1.48 + 1.49 +