wok view memtest/receipt @ rev 8150
emacs-pkg-lua-mode: build without emacs
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Jan 25 21:03:34 2011 +0100 (2011-01-25) |
parents | 05e629675346 |
children | 42f1d19df394 |
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest"
4 VERSION="4.10"
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 }