wok view memtest/receipt @ rev 6094

tazbb/sort_cook_list: wanted fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 30 16:34:18 2010 +0200 (2010-08-30)
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 }