wok-6.x annotate memtester/receipt @ rev 24441

firefox-official*: prohibit user update
author Hans-G?nter Theisgen
date Mon Feb 14 07:01:08 2022 +0100 (2022-02-14)
parents be11ceb31dcf
children fff755dd0f58
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"
Hans-G?nter@24161 10 WEB_SITE="https://pyropus.ca/software/memtester"
Hans-G?nter@24161 11
pascal@15481 12 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@15481 13 WGET_URL="$WEB_SITE/old-versions/$TARBALL"
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@24433 23 wget -O - $WEB_SITE 2>/dev/null | \
pascal@24433 24 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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 }