wok view memtest/receipt @ rev 14765

Add iaxmodem
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jun 21 16:25:19 2013 +0200 (2013-06-21)
parents 18d1dc85701e
children c6501cfa8ced
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="lzma"
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 }