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

transmission: fix bdeps
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 03:35:40 2012 +0100 (2012-03-09)
parents 2489aa1de154
children 75c0995b510f
rev   line source
pascal@524 1 # SliTaz package receipt.
pascal@524 2
pascal@524 3 PACKAGE="memtest"
slaxemulator@8153 4 VERSION="4.20"
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 }