wok-4.x view eduke32/receipt @ rev 4760
Add: libunique, libunique-dev, libunqiue-doc
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Jan 10 22:25:36 2010 +0100 (2010-01-10) |
parents | ad0ca4c550c3 |
children | 31c985a0bd3d |
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 }