wok-6.x view eduke32/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 3705d68ed8f3 |
children |
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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*/*}/ 2>/dev/null | \
21 sed '/folder.png/!d;s|.*href="||;s|/".*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|uname -m|echo i486|' build/Makefile.shared
28 make $MAKEFLAGS || return 1
29 mkdir $DESTDIR
30 cp eduke32 mapster32 $DESTDIR
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 echo "Building package tree"
37 mkdir -p $fs/usr/bin
39 echo "Copying package files"
40 cp -a $install/eduke32 $install/mapster32 $fs/usr/bin
41 }