wok annotate memtester/receipt @ rev 25003
updated nspr and nspr-dev (4.25 -> 4.33)
author | Hans-G?nter Theisgen |
---|---|
date | Mon May 16 14:53:05 2022 +0100 (2022-05-16) |
parents | ad8b9ff412d2 |
children |
rev | line source |
---|---|
pascal@15481 | 1 # SliTaz package receipt. |
pascal@15481 | 2 |
pascal@15481 | 3 PACKAGE="memtester" |
Hans-G?nter@24161 | 4 VERSION="4.5.1" |
pascal@15481 | 5 CATEGORY="misc" |
Hans-G?nter@24161 | 6 TAGS="test diagnostic RAM" |
pascal@15481 | 7 SHORT_DESC="A userspace utility for testing the memory subsystem for faults." |
pascal@15481 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15481 | 9 LICENSE="GPL2" |
pascal@24909 | 10 WEB_SITE="https://github.com/jnavila/memtester" |
Hans-G?nter@24161 | 11 |
pascal@15481 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@24909 | 13 WGET_URL="$WEB_SITE/archive/refs/tags/v$VERSION.tar.gz" |
pascal@15481 | 14 |
pascal@15481 | 15 DEPENDS="" |
pascal@15481 | 16 BUILD_DEPENDS="" |
pascal@15481 | 17 |
Hans-G?nter@24161 | 18 HOST_ARCH="i486 arm" |
Hans-G?nter@24161 | 19 |
pascal@24433 | 20 # What is the latest version available today? |
pascal@24433 | 21 current_version() |
pascal@24433 | 22 { |
pascal@24909 | 23 wget -O - ${WGET_URL%/arch*}/tags 2>/dev/null | \ |
pascal@24909 | 24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24433 | 25 } |
pascal@24433 | 26 |
pascal@15481 | 27 # Rules to configure and make the package. |
pascal@15481 | 28 compile_rules() |
pascal@15481 | 29 { |
Hans-G?nter@24161 | 30 make |
pascal@15481 | 31 } |
pascal@15481 | 32 |
pascal@15481 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15481 | 34 genpkg_rules() |
pascal@15481 | 35 { |
pascal@15481 | 36 mkdir -p $fs/usr/bin |
Hans-G?nter@24161 | 37 cp -a $src/memtester $fs/usr/bin |
pascal@15481 | 38 } |