wok-6.x annotate memtest/receipt @ rev 7227

Up: attica to 0.2.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 11 22:08:32 2010 +0000 (2010-11-11)
parents 05e629675346
children 42f1d19df394
rev   line source
pascal@524 1 # SliTaz package receipt.
pascal@524 2
pascal@524 3 PACKAGE="memtest"
pascal@5933 4 VERSION="4.10"
pascal@524 5 CATEGORY="base-system"
pascal@524 6 SHORT_DESC="Memory failures detection tool."
pascal@524 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1734 8 SOURCE="memtest86+"
pascal@1734 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@524 10 WEB_SITE="http://www.memtest.org/"
pascal@1734 11 WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"
pascal@524 12
pascal@524 13 # Rules to configure and make the package.
pascal@524 14 compile_rules()
pascal@524 15 {
pascal@1734 16 cd $src
pascal@1734 17 make
pascal@524 18 }
pascal@524 19
pascal@524 20
pascal@524 21 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@524 22 genpkg_rules()
pascal@524 23 {
pascal@1734 24 mkdir -p $fs/usr/share/boot
pascal@1734 25 lzma e $src/memtest.bin $fs/usr/share/boot/memtest.lzma
pascal@524 26 }
pascal@524 27
pascal@524 28 # Pre and post install commands for Tazpkg.
pascal@524 29 post_install()
pascal@524 30 {
pascal@524 31 echo "----"
pascal@524 32 echo "You can create memtest boot floppy with:"
pascal@526 33 echo "# unlzma -c /usr/share/boot/memtest.lzma > /dev/fd0"
pascal@524 34 echo "----"
pascal@524 35 }