wok-4.x view memtest/receipt @ rev 3603

Add gsl (Numerical library)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 28 22:50:25 2009 +0200 (2009-06-28)
parents d56993bf8f5e
children 2489aa1de154
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest"
4 VERSION="2.11"
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 }