wok-tiny view memtest/receipt @ rev 153

No hard coded boot menu
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 20 21:15:35 2019 +0200 (2019-09-20)
parents a41610cab1ff
children 9f53549da10d
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest"
4 VERSION="5.01"
5 CATEGORY="base-system"
6 SHORT_DESC="Memory failures detection tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.memtest.org/"
10 TARBALL="$PACKAGE-$VERSION"
11 WGET_URL="http://cook.slitaz.org/cooker.cgi?download=../wok/memtest/taz/memtest-$VERSION/fs/boot/memtest"
12 TARGET="i486"
14 # Rules to gen a SliTaz package suitable for Tazpkg.
15 genpkg_rules()
16 {
17 mkdir -p $fs/boot
18 cp $SOURCES_REPOSITORY/$TARBALL $fs/boot/$PACKAGE
19 }
21 # Post install/remove commands for Tazpkg.
22 post_install()
23 {
24 grep -qs ^memtest $1/boot/bootmenu ||
25 echo "memtest Memtest,test,mem Check memory" >> $1/boot/bootmenu
26 }