wok-6.x view ascii-patrol/receipt @ rev 24727
cookutils: add repo-cooking (used by tank)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Mar 15 10:59:31 2022 +0000 (2022-03-15) |
parents | 848e2021d813 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="ascii-patrol"
4 VERSION="1.7"
5 CATEGORY="games"
6 SHORT_DESC="ASCII clone of Moon Patrol"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="https://github.com/msokalski/ascii-patrol"
11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
13 DEPENDS="curl xorg-libX11 pulseaudio xorg-libXi"
14 BUILD_DEPENDS="xorg-libX11-dev pulseaudio-dev xorg-libXi-dev"
16 current_version()
17 {
18 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
19 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sh build.sh
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin
32 cp -a $src/asciipat $fs/usr/bin
33 }