wok-next annotate opentyrian/receipt @ rev 21686

updated glm (0.9.3.2 -> 0.9.9.8)
author Hans-G?nter Theisgen
date Mon Jun 29 16:57:49 2020 +0100 (2020-06-29)
parents f6ec630a30b5
children
rev   line source
al@20476 1 # SliTaz package receipt v2.
gokhlayeh@8566 2
gokhlayeh@8566 3 PACKAGE="opentyrian"
gokhlayeh@8566 4 VERSION="r886"
gokhlayeh@8566 5 CATEGORY="games"
al@21020 6 SHORT_DESC="Port of the DOS shoot-em-up Tyrian"
al@21020 7 MAINTAINER="devel@slitaz.org"
pascal@15001 8 LICENSE="GPL2"
al@20906 9 WEB_SITE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home"
al@20476 10
pascal@15661 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20906 12 WGET_URL="mercurial|https://opentyrian.googlecode.com/hg/" # FIXME
pascal@15001 13
al@21397 14 BUILD_DEPENDS="glib sdl-dev sdl-mixer-dev sdl-net-dev mercurial"
gokhlayeh@8566 15
al@20476 16 compile_rules() {
al@20476 17 make release || return 1
gokhlayeh@8566 18
al@20476 19 mkdir -p \
al@21396 20 $install/usr/bin \
al@21396 21 $install/usr/share/applications \
al@20476 22 $install/usr/share/pixmaps \
al@20476 23 $install/usr/games/opentyrian
al@20476 24 cp $src/opentyrian $install/usr/games/opentyrian
al@20476 25 cp $src/linux/opentyrian.desktop $install/usr/share/applications
al@20476 26 cp $src/linux/icons/tyrian-32.png $install/usr/share/pixmaps/opentyrian.png
al@20476 27 cat > $install/usr/bin/opentyrian <<EOF
gokhlayeh@8566 28 #!/bin/sh
gokhlayeh@8566 29 here=$(pwd)
gokhlayeh@8566 30 cd /usr/games/opentyrian
gokhlayeh@8566 31 ./opentyrian
gokhlayeh@8566 32 cd $here
gokhlayeh@8566 33 EOF
al@20476 34 chmod +x $install/usr/bin/opentyrian
gokhlayeh@8566 35 }
gokhlayeh@8566 36
al@20476 37 genpkg_rules() {
al@20476 38 copy @std
al@21087 39 DEPENDS="sdl sdl-mixer sdl-net tyrian"
al@20476 40 }