wok annotate xgalaga++/receipt @ rev 25229

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