wok-next view eduke32/receipt @ rev 20486

outguess: fix install path
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 10:46:52 2018 +0100 (2018-03-12)
parents 223b265f40fd
children c0521c689857
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 \
16 mesa-dev libglu-mesa-dev gcc49"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 make CC=gcc-49 CXX=g++-49 $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 }