wok-current view eduke32/receipt @ rev 15341
n2nc: use autoconf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Sep 29 11:40:18 2013 +0000 (2013-09-29) |
parents | 6b09507225ec |
children | 3705d68ed8f3 |
line source
1 # SliTaz package receipt.
3 PACKAGE="eduke32"
4 VERSION="20110319-1850"
5 CATEGORY="games"
6 SHORT_DESC="A port of the classic first-person shooter, Duke Nukem 3D"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="GPL2"
9 TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2"
10 WEB_SITE="http://www.eduke32.com/"
11 WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL"
12 TAGS="shooting"
14 DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data"
15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm mesa-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 make $MAKEFLAGS || return 1
22 mkdir $DESTDIR
23 cp eduke32 mapster32 $DESTDIR
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
32 echo "Copying package files"
33 cp -a $install/eduke32 $install/mapster32 $fs/usr/bin
34 }