wok annotate eduke32/receipt @ rev 17115
Up: firefox official (32.0)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Sep 03 13:07:01 2014 +0200 (2014-09-03) |
parents | 6b09507225ec |
children | 3705d68ed8f3 |
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" |
pascal@15202 | 8 LICENSE="GPL2" |
slaxemulator@9369 | 9 TARBALL="${PACKAGE}_src_${VERSION}.tar.bz2" |
mallory@2717 | 10 WEB_SITE="http://www.eduke32.com/" |
slaxemulator@9369 | 11 WGET_URL="http://dukeworld.duke4.net/$PACKAGE/synthesis/$VERSION/$TARBALL" |
jozee@4935 | 12 TAGS="shooting" |
mallory@2717 | 13 |
pascal@13796 | 14 DEPENDS="libsdl libsdl-mixer libvorbis gtk+ eduke32-data" |
pascal@13796 | 15 BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libvorbis-dev gtk+-dev nasm mesa-dev" |
pascal@13796 | 16 |
mallory@2717 | 17 # Rules to configure and make the package. |
mallory@2717 | 18 compile_rules() |
mallory@2717 | 19 { |
mallory@2717 | 20 cd $src |
gokhlayeh@11574 | 21 make $MAKEFLAGS || return 1 |
pascal@15202 | 22 mkdir $DESTDIR |
pascal@15202 | 23 cp eduke32 mapster32 $DESTDIR |
mallory@2717 | 24 } |
mallory@2717 | 25 |
mallory@2717 | 26 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2717 | 27 genpkg_rules() |
mallory@2717 | 28 { |
mallory@2717 | 29 echo "Building package tree" |
slaxemulator@9369 | 30 mkdir -p $fs/usr/bin |
mallory@2717 | 31 |
mallory@2717 | 32 echo "Copying package files" |
pascal@13796 | 33 cp -a $install/eduke32 $install/mapster32 $fs/usr/bin |
mallory@2717 | 34 } |
mallory@2717 | 35 |
mallory@2717 | 36 |