wok-next view memtest/receipt @ rev 8157
LOCAL_STATE typo fix was not applied as /etc/slitaz/slitaz.conf is a config file
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Wed Jan 26 21:35:51 2011 +0100 (2011-01-26) |
parents | 2489aa1de154 |
children | 75c0995b510f |
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 }