wok-6.x view xgalaga++/receipt @ rev 24593
updated geos and geos-dev (3.8.0 -> 3.10.2)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 01 13:55:15 2022 +0100 (2022-03-01) |
parents | e3048e2da3e4 |
children | cb67b4f8be05 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xgalaga++"
4 VERSION="0.9"
5 CATEGORY="games"
6 SHORT_DESC="A clone of the classic game Galaga for the X Window System."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://marc.mongenet.ch/OSS/XGalaga/"
11 TARBALL="${PACKAGE}_$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE$TARBALL"
14 DEPENDS="libxcb xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libXpm"
15 BUILD_DEPENDS="xorg-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/latest/d;/${PACKAGE}_/!d;/tar/!d;s|.*${PACKAGE}_\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 make xgalaga++
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin
34 cp -a $src/xgalaga++ $fs/usr/bin
35 }