wok-4.x view memtest/receipt @ rev 11707
Up: slitaz-tools-boxes (4.5.1)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Feb 19 12:15:23 2012 +0100 (2012-02-19) |
parents | 2489aa1de154 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest"
4 VERSION="4.20"
5 CATEGORY="base-system"
6 SHORT_DESC="Memory failures detection tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="memtest86+"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.memtest.org/"
11 WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make
18 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/boot
25 lzma e $src/memtest.bin $fs/usr/share/boot/memtest.lzma
26 }
28 # Pre and post install commands for Tazpkg.
29 post_install()
30 {
31 echo "----"
32 echo "You can create memtest boot floppy with:"
33 echo "# unlzma -c /usr/share/boot/memtest.lzma > /dev/fd0"
34 echo "----"
35 }