wok-6.x view eduke32/receipt @ rev 3259

squirrelmail-html: fix ownership
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 01 13:00:06 2009 +0200 (2009-06-01)
parents 3eadd42e4748
children e8024c01fc47
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"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv eduke32_src_20090131 eduke32-20090313
18 cd $src
19 wget http://wiki.eduke32.com/stuff/source_code/eduke32_src_20090313.diff
20 patch -p1 < eduke32_src_20090313.diff
21 make || return 1
22 mkdir $src/_pkg
23 cp eduke32 mapster32 $src/_pkg
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 echo "Building package tree"
30 mkdir -p $fs/usr/bin \
31 $fs/usr/share/games/eduke32 \
32 $fs/usr/share/applications \
33 $fs/usr/share/pixmaps \
35 echo "Copying package files"
36 cp -a $src/eduke32 $src/mapster32 $fs/usr/bin
38 echo "Downloading game data"
39 wget http://people.slitaz.org/~mallory/stuff/eduke32/duke3d.grp -O $fs/usr/share/games/eduke32/duke3d.grp
41 echo "Copying metadata"
42 cp stuff/eduke32.desktop $fs/usr/share/applications
43 cp stuff/eduke32.png $fs/usr/share/pixmaps
44 }