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