wok-next annotate astromenace/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 6befec62b46c
children 21ab7a6eb192
rev   line source
al@20503 1 # SliTaz package receipt v2.
hackdorte@19296 2
hackdorte@19296 3 PACKAGE="astromenace"
hackdorte@19296 4 VERSION="1.3.2"
hackdorte@19296 5 CATEGORY="games"
al@20503 6 SHORT_DESC="Hardcore 3D space shooter with spaceship upgrade possibilities"
al@21020 7 MAINTAINER="devel@slitaz.org"
hackdorte@19296 8 LICENSE="GPL3"
al@21020 9 WEB_SITE="https://viewizard.com/"
al@20503 10
hackdorte@19296 11 TARBALL="$PACKAGE-src-$VERSION.tar.bz2"
hackdorte@19296 12 WGET_URL="$SF_MIRROR/openastromenace/$TARBALL"
hackdorte@19296 13
al@20503 14 BUILD_DEPENDS="gcc cmake make libsdl-dev libogg-dev libvorbis-dev glu-dev \
al@20503 15 openal-dev freealut-dev xorg-libXinerama-dev freetype-dev mesa-dev \
al@20503 16 fontconfig-dev"
hackdorte@19296 17
al@20503 18 compile_rules() {
al@20503 19 cmake . &&
al@20503 20 make &&
al@20503 21 ./AstroMenace --pack --rawdata=./RAW_VFS_DATA || return 1
hackdorte@19296 22
al@20503 23 chmod +x AstroMenace
hackdorte@19296 24
al@20503 25 mkdir -p $install/usr/games/AstroMenace/
al@20503 26 cp AstroMenace astromenace_64.png astromenace_128.png ChangeLog.txt \
al@20503 27 gamedata.vfs gpl-3.0.txt $install/usr/games/AstroMenace/
hackdorte@19296 28
al@20503 29 mkdir -p $install/usr/share/pixmaps/
al@20503 30 cp astromenace_64.png $install/usr/share/pixmaps/astromenace.png
hackdorte@19296 31 }
hackdorte@19296 32
al@20503 33 genpkg_rules() {
al@20503 34 copy @std
al@20503 35 TAGS="arcade game shooting space"
al@20799 36 DEPENDS="freealut freetype glu libsdl libvorbis mesa openal xorg-libX11 \
al@20799 37 xorg-libXinerama"
hackdorte@19296 38 }