wok-next annotate eduke32/receipt @ rev 13225
fail2ban: add fail2ban filter
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Aug 13 19:15:01 2012 +0200 (2012-08-13) |
parents | 8e4c74abdf74 |
children | 6b09507225ec |
rev | line source |
---|---|
mallory@2717 | 1 # SliTaz package receipt. |
mallory@2717 | 2 |
mallory@2717 | 3 PACKAGE="eduke32" |
slaxemulator@9369 | 4 VERSION="20110319-1850" |
mallory@2717 | 5 CATEGORY="games" |
samuel_trassare@11993 | 6 SHORT_DESC="A port of the classic first-person shooter, Duke Nukem 3D" |
mallory@2717 | 7 MAINTAINER="mallory@sweetpeople.org" |
slaxemulator@9369 | 8 DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data" |
pascal@9266 | 9 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm mesa-dev" |
slaxemulator@9369 | 10 TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2" |
mallory@2717 | 11 WEB_SITE="http://www.eduke32.com/" |
slaxemulator@9369 | 12 WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL" |
jozee@4935 | 13 TAGS="shooting" |
mallory@2717 | 14 |
mallory@2717 | 15 # Rules to configure and make the package. |
mallory@2717 | 16 compile_rules() |
mallory@2717 | 17 { |
mallory@2717 | 18 cd $src |
gokhlayeh@11574 | 19 make $MAKEFLAGS || return 1 |
mallory@2717 | 20 mkdir $src/_pkg |
mallory@2717 | 21 cp eduke32 mapster32 $src/_pkg |
mallory@2717 | 22 } |
mallory@2717 | 23 |
mallory@2717 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2717 | 25 genpkg_rules() |
mallory@2717 | 26 { |
mallory@2717 | 27 echo "Building package tree" |
slaxemulator@9369 | 28 mkdir -p $fs/usr/bin |
mallory@2717 | 29 |
mallory@2717 | 30 echo "Copying package files" |
pascal@9265 | 31 cp -a $_pkg/eduke32 $_pkg/mapster32 $fs/usr/bin |
mallory@2717 | 32 } |
mallory@2717 | 33 |
mallory@2717 | 34 |