wok annotate memtest/receipt @ rev 1614
subversion depends on cyrus-sasl
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 20:48:49 2008 +0000 (2008-10-19) |
parents | 72f7366a39f9 |
children | 74b1a6f5d5b0 |
rev | line source |
---|---|
pascal@524 | 1 # SliTaz package receipt. |
pascal@524 | 2 |
pascal@524 | 3 PACKAGE="memtest" |
pascal@524 | 4 VERSION="2.01" |
pascal@524 | 5 CATEGORY="base-system" |
pascal@524 | 6 SHORT_DESC="Memory failures detection tool." |
pascal@524 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@524 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@524 | 9 WEB_SITE="http://www.memtest.org/" |
pascal@524 | 10 RAW_WGET_URL="http://www.memtest.org/download/$VERSION/memtest86+-$VERSION.bin.gz" |
pascal@524 | 11 |
pascal@524 | 12 # Rules to configure and make the package. |
pascal@524 | 13 compile_rules() |
pascal@524 | 14 { |
pascal@524 | 15 [ -f $(basename $RAW_WGET_URL) ] || wget $RAW_WGET_URL |
pascal@524 | 16 } |
pascal@524 | 17 |
pascal@524 | 18 |
pascal@524 | 19 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@524 | 20 genpkg_rules() |
pascal@524 | 21 { |
pascal@524 | 22 mkdir -p $fs/usr/share/boot |
pascal@524 | 23 zcat $(basename $RAW_WGET_URL) | lzma e $fs/usr/share/boot/memtest.lzma -si |
pascal@524 | 24 } |
pascal@524 | 25 |
pascal@524 | 26 # Pre and post install commands for Tazpkg. |
pascal@524 | 27 post_install() |
pascal@524 | 28 { |
pascal@524 | 29 echo "----" |
pascal@524 | 30 echo "You can create memtest boot floppy with:" |
pascal@526 | 31 echo "# unlzma -c /usr/share/boot/memtest.lzma > /dev/fd0" |
pascal@524 | 32 echo "----" |
pascal@524 | 33 } |