wok-6.x diff opentyrian/receipt @ rev 9319
Up openvas-administrator (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 18 09:32:37 2011 +0100 (2011-03-18) |
parents | |
children | e8768e5178a6 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/opentyrian/receipt Fri Mar 18 09:32:37 2011 +0100 1.3 @@ -0,0 +1,38 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="opentyrian" 1.7 +VERSION="r886" 1.8 +CATEGORY="games" 1.9 +SHORT_DESC="OpenTyrian is a port of the DOS shoot-em-up Tyrian" 1.10 +MAINTAINER="mallory@skyrock.com" 1.11 +DEPENDS="libsdl libsdl-mixer libsdl-net tyrian" 1.12 +BUILD_DEPENDS="libsdl-dev libsdl-mixer-dev libsdl-net-dev mercurial" 1.13 +SOURCE="opentyrian" 1.14 +WEB_SITE="http://code.google.com/p/opentyrian/" 1.15 +WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + cd $src 1.21 + make release 1.22 +} 1.23 + 1.24 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.25 +genpkg_rules() 1.26 +{ 1.27 + mkdir -p $fs/usr/bin $fs/usr/share/applications \ 1.28 + $fs/usr/share/pixmaps $fs/usr/games/opentyrian 1.29 + cp $src/opentyrian $fs/usr/games/opentyrian 1.30 + cp $src/linux/opentyrian.desktop $fs/usr/share/applications 1.31 + cp $src/linux/icons/tyrian-32.png $fs/usr/share/pixmaps/opentyrian.png 1.32 + cat > $fs/usr/bin/opentyrian <<EOF 1.33 +#!/bin/sh 1.34 +here=$(pwd) 1.35 +cd /usr/games/opentyrian 1.36 +./opentyrian 1.37 +cd $here 1.38 +EOF 1.39 + chmod +x $fs/usr/bin/opentyrian 1.40 +} 1.41 +