wok-4.x rev 2717
Add: eduke32
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Thu Apr 23 19:57:40 2009 +0200 (2009-04-23) |
parents | 1eec1672606e |
children | 0bfb8a0a226b |
files | eduke32/receipt eduke32/stuff/eduke32.desktop eduke32/stuff/eduke32.png |
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 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/eduke32/stuff/eduke32.desktop Thu Apr 23 19:57:40 2009 +0200 2.3 @@ -0,0 +1,8 @@ 2.4 +[Desktop Entry] 2.5 +Encoding=UTF-8 2.6 +Name=EDuke32 2.7 +Comment=Duke Nukem 3D for Linux 2.8 +Exec=eduke32 2.9 +Icon=eduke32.png 2.10 +Type=Application 2.11 +Categories=Application;Game;
3.1 Binary file eduke32/stuff/eduke32.png has changed