wok-6.x annotate eduke32/receipt @ rev 15071
cndrvcups-common: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 14:11:10 2013 +0000 (2013-08-13) |
parents | e76032847ca2 |
children | 223b265f40fd |
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 TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2" |
mallory@2717 | 9 WEB_SITE="http://www.eduke32.com/" |
slaxemulator@9369 | 10 WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL" |
jozee@4935 | 11 TAGS="shooting" |
mallory@2717 | 12 |
pascal@13796 | 13 DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data" |
pascal@13796 | 14 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm mesa-dev" |
pascal@13796 | 15 |
mallory@2717 | 16 # Rules to configure and make the package. |
mallory@2717 | 17 compile_rules() |
mallory@2717 | 18 { |
mallory@2717 | 19 cd $src |
gokhlayeh@11574 | 20 make $MAKEFLAGS || return 1 |
mallory@2717 | 21 mkdir $src/_pkg |
mallory@2717 | 22 cp eduke32 mapster32 $src/_pkg |
mallory@2717 | 23 } |
mallory@2717 | 24 |
mallory@2717 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2717 | 26 genpkg_rules() |
mallory@2717 | 27 { |
mallory@2717 | 28 echo "Building package tree" |
slaxemulator@9369 | 29 mkdir -p $fs/usr/bin |
mallory@2717 | 30 |
mallory@2717 | 31 echo "Copying package files" |
pascal@13796 | 32 cp -a $install/eduke32 $install/mapster32 $fs/usr/bin |
mallory@2717 | 33 } |
mallory@2717 | 34 |
mallory@2717 | 35 |