wok view wordwarvi/receipt @ rev 24149
gcc: remove obsolete gawk comment
author | Richard Dunbar <mojo@slitaz.org> |
---|---|
date | Sat Nov 27 15:12:31 2021 -0500 (2021-11-27) |
parents | 62e4ac2cce2e |
children | ac8ca9758df1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="wordwarvi"
4 VERSION="1.0.2"
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+ libvorbis 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 pixman-dev
20 portaudio portaudio-dev xorg-kbproto xorg-libXrender-dev
21 xorg-renderproto xorg-xproto "
23 current_version()
24 {
25 wget -O - ${WGET_URL%/arch*}/releases 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 DESTDIR=$DESTDIR install
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 }