wok view wordwarvi/receipt @ rev 25264
updated re2c (1.3 -> 3.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 08:59:55 2022 +0100 (2022-07-15) |
parents | 5ea0ce1cecc0 |
children | 6ed15a9904a6 |
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*}/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 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 }