wok view primateplunge/receipt @ rev 24944

updated n2n (2.4 -> 3.0)
author Hans-G?nter Theisgen
date Fri Apr 22 16:44:33 2022 +0100 (2022-04-22)
parents 6135577f4d08
children
line source
1 # SliTaz package receipt.
3 PACKAGE="primateplunge"
4 VERSION="1.1"
5 CATEGORY="games"
6 SHORT_DESC="Primate plunge game"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="other"
9 WEB_SITE="https://www.aelius.com/primateplunge/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="${WEB_SITE}$TARBALL"
13 DEPENDS="libsdl-mixer"
14 BUILD_DEPENDS="libsdl-mixer-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - ${WGET_URL%/*} 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure $CONFIGURE_ARGS && make && make install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 cp -a $install/* $fs
33 mkdir -p $fs/usr/share/licenses
34 cp $src/COPYING $fs/usr/share/licenses/$PACKAGE
35 }