wok annotate ascii-patrol/receipt @ rev 25638
Up tinyssh (20240101 CVE-2023-48795)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 05 10:31:44 2024 +0000 (5 months ago) |
parents | 5ea0ce1cecc0 |
children |
rev | line source |
---|---|
pascal@23971 | 1 # SliTaz package receipt. |
pascal@23971 | 2 |
pascal@23971 | 3 PACKAGE="ascii-patrol" |
pascal@23971 | 4 VERSION="1.7" |
pascal@23971 | 5 CATEGORY="games" |
pascal@23971 | 6 SHORT_DESC="ASCII clone of Moon Patrol" |
pascal@23971 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@23971 | 8 LICENSE="GPL3" |
pascal@23971 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@23971 | 10 WEB_SITE="https://github.com/msokalski/ascii-patrol" |
pascal@23971 | 11 WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" |
pascal@23971 | 12 |
pascal@23973 | 13 DEPENDS="curl xorg-libX11 pulseaudio xorg-libXi" |
pascal@23973 | 14 BUILD_DEPENDS="xorg-libX11-dev pulseaudio-dev xorg-libXi-dev" |
pascal@23971 | 15 |
pascal@25597 | 16 # What is the latest version available today? |
pascal@24055 | 17 current_version() |
pascal@24055 | 18 { |
pascal@24055 | 19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25597 | 20 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 21 } |
pascal@24055 | 22 |
pascal@23971 | 23 # Rules to configure and make the package. |
pascal@23971 | 24 compile_rules() |
pascal@23971 | 25 { |
pascal@23971 | 26 sh build.sh |
pascal@23971 | 27 } |
pascal@23971 | 28 |
pascal@23971 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@23971 | 30 genpkg_rules() |
pascal@23971 | 31 { |
pascal@23971 | 32 mkdir -p $fs/usr/bin |
pascal@23971 | 33 cp -a $src/asciipat $fs/usr/bin |
pascal@23971 | 34 } |