wok view eduke32/receipt @ rev 5373

Up: parted (2.2) - I disabled device mapper since its enable by default now.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat May 01 01:40:16 2010 +0000 (2010-05-01)
parents e8024c01fc47
children 4a13e7cb398c
line source
1 # SliTaz package receipt.
3 PACKAGE="eduke32"
4 VERSION="20090313"
5 CATEGORY="games"
6 SHORT_DESC="Duke Nuken shoot them up port"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="libsdl libsdl-mixer libvorbis gtk+"
9 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm"
10 TARBALL="$PACKAGE""_src_20090131.zip"
11 WEB_SITE="http://www.eduke32.com/"
12 WGET_URL="http://wiki.eduke32.com/stuff/source_code/$TARBALL"
13 TAGS="shooting"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv eduke32_src_20090131 eduke32-20090313
19 cd $src
20 wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff
21 patch -p1 < eduke32_src_20090313.diff
22 make || return 1
23 mkdir $src/_pkg
24 cp eduke32 mapster32 $src/_pkg
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 echo "Building package tree"
31 mkdir -p $fs/usr/bin \
32 $fs/usr/share/games/eduke32 \
33 $fs/usr/share/applications \
34 $fs/usr/share/pixmaps \
36 echo "Copying package files"
37 cp -a $src/eduke32 $src/mapster32 $fs/usr/bin
39 echo "Downloading game data"
40 wget http://people.slitaz.org/~mallory/stuff/eduke32/duke3d.grp -O $fs/usr/share/games/eduke32/duke3d.grp
42 echo "Copying metadata"
43 cp stuff/eduke32.desktop $fs/usr/share/applications
44 cp stuff/eduke32.png $fs/usr/share/pixmaps
45 }