wok-6.x view eduke32/receipt @ rev 11585
gecko-mediaplayer: hack compile_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 08 17:32:11 2012 +0100 (2012-01-08) |
parents | 17056e28c846 |
children | e76032847ca2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="eduke32"
4 VERSION="20110319-1850"
5 CATEGORY="games"
6 SHORT_DESC="Duke Nuken shoot them up port"
7 MAINTAINER="mallory@sweetpeople.org"
8 DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data"
9 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm mesa-dev"
10 TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2"
11 WEB_SITE="http://www.eduke32.com/"
12 WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL"
13 TAGS="shooting"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make $MAKEFLAGS || return 1
20 mkdir $src/_pkg
21 cp eduke32 mapster32 $src/_pkg
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 echo "Building package tree"
28 mkdir -p $fs/usr/bin
30 echo "Copying package files"
31 cp -a $_pkg/eduke32 $_pkg/mapster32 $fs/usr/bin
32 }