wok view eduke32/receipt @ rev 24134

Up lzsa (1.3.8)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 28 18:03:20 2021 +0000 (2021-10-28)
parents 223b265f40fd
children 89c8d8b6cf48
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 sed -i 's|uname -m|echo i486|' build/Makefile.shared
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 }