wok-6.x annotate eduke32/receipt @ rev 9677
Up: tazwok to 4.2.14.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed May 04 16:24:30 2011 +0000 (2011-05-04) |
parents | 1229eb02952c |
children | 8e4c74abdf74 |
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" |
pascal@2751 | 6 SHORT_DESC="Duke Nuken shoot them up port" |
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 |
pascal@5802 | 19 make -j 4 || 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 |