wok annotate eduke32/receipt @ rev 23030
created recipe for libfilezilla
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 03 16:57:34 2020 +0100 (2020-03-03) |
parents | 223b265f40fd |
children | 89c8d8b6cf48 |
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 { |
pascal@20212 | 20 sed -i 's|uname -m|echo i486|' build/Makefile.shared |
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 |