wok-stable annotate memtest/receipt @ rev 2809
libQtScript update to 4.5.0
author | Allan Pinto <allan316@gmail.com> |
---|---|
date | Wed Apr 29 10:17:45 2009 +0000 (2009-04-29) |
parents | d56993bf8f5e |
children | 2489aa1de154 |
rev | line source |
---|---|
pascal@524 | 1 # SliTaz package receipt. |
pascal@524 | 2 |
pascal@524 | 3 PACKAGE="memtest" |
pascal@1927 | 4 VERSION="2.11" |
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 } |