wok-next view opentyrian/receipt @ rev 21379
updated mspdebug (0.17 -> 0.25)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 16:31:49 2020 +0100 (2020-04-16) |
parents | d5aab818505e |
children | f6ec630a30b5 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opentyrian"
4 VERSION="r886"
5 CATEGORY="games"
6 SHORT_DESC="Port of the DOS shoot-em-up Tyrian"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" # FIXME
14 BUILD_DEPENDS="sdl-dev sdl-mixer-dev sdl-net-dev mercurial"
16 compile_rules() {
17 make release || return 1
19 mkdir -p \
20 $install/usr/bin $fs/usr/share/applications \
21 $install/usr/share/pixmaps \
22 $install/usr/games/opentyrian
23 cp $src/opentyrian $install/usr/games/opentyrian
24 cp $src/linux/opentyrian.desktop $install/usr/share/applications
25 cp $src/linux/icons/tyrian-32.png $install/usr/share/pixmaps/opentyrian.png
26 cat > $install/usr/bin/opentyrian <<EOF
27 #!/bin/sh
28 here=$(pwd)
29 cd /usr/games/opentyrian
30 ./opentyrian
31 cd $here
32 EOF
33 chmod +x $install/usr/bin/opentyrian
34 }
36 genpkg_rules() {
37 copy @std
38 DEPENDS="sdl sdl-mixer sdl-net tyrian"
39 }