wok-next view memtest/receipt @ rev 13269

memtest: compression (-76K)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 19 08:06:36 2012 +0200 (2012-08-19)
parents 75c0995b510f
children 3fd2f1836a8c
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 BUILD_DEPENDS="lz4"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make
20 cp $stuff/*.S $stuff/pack .
21 cc -o unpack.o -Wa,-a=unpack.lst -c unpack.S
22 objcopy -O binary unpack.o unpack.bin
23 ./pack --build unpack.bin
24 ./pack memtest.bin memtest.packed
25 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/boot
32 cp $src/memtest.packed $fs/boot/memtest
33 }