wok view eduke32/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents 8e4c74abdf74
children 6b09507225ec
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 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 }