wok view wordwarvi/receipt @ rev 25439
Up xz (5.2.6)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 01 16:28:38 2022 +0000 (2022-09-01) |
parents | ac8ca9758df1 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="wordwarvi"
4 VERSION="1.0.4"
5 CATEGORY="games"
6 TAGS="shooting"
7 SHORT_DESC="Retro shoot'em up game."
8 MAINTAINER="paul@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://smcameron.github.io/wordwarvi/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/smcameron/$PACKAGE/archive/v$VERSION/$TARBALL"
15 DEPENDS="expat gtk+ libdb libvorbis libxml2 portaudio xorg-libX11 xorg-libXau
16 xorg-libXcomposite xorg-libXcursor xorg-libXdmcp xorg-libXext
17 xorg-libXfixes xorg-libXinerama xorg-libXrandr xorg-libXrender
18 xorg-libXdamage"
19 BUILD_DEPENDS="gtk+-dev libgio-dev libogg-dev libvorbis-dev libxml2-dev
20 pixman-dev portaudio portaudio-dev xorg-kbproto xorg-libXrender-dev
21 xorg-renderproto xorg-xproto "
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \
26 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
27 }
29 # Rules to configure and make the package.
30 compile_rules()
31 {
32 make &&
33 make install DESTDIR=$DESTDIR
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 mkdir -p $fs/usr/share/wordwarvi
42 cp -a $install/usr/games/wordwarvi $fs/usr/bin
43 cp -a $install/usr/share/wordwarvi/* $fs/usr/share/wordwarvi
44 cp -a stuff/* $fs
45 }