wok annotate memtest/receipt @ rev 14159
Up: nss-dev (3.14.1)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Mar 05 22:43:38 2013 +0100 (2013-03-05) |
parents | 18d1dc85701e |
children | c6501cfa8ced |
rev | line source |
---|---|
pascal@524 | 1 # SliTaz package receipt. |
pascal@524 | 2 |
pascal@524 | 3 PACKAGE="memtest" |
slaxemulator@8153 | 4 VERSION="4.20" |
pascal@524 | 5 CATEGORY="base-system" |
pascal@524 | 6 SHORT_DESC="Memory failures detection tool." |
pascal@524 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@1734 | 8 SOURCE="memtest86+" |
pascal@1734 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@524 | 10 WEB_SITE="http://www.memtest.org/" |
pascal@1734 | 11 WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL" |
pascal@524 | 12 |
pascal@13287 | 13 BUILD_DEPENDS="lzma" |
pascal@13269 | 14 |
pascal@524 | 15 # Rules to configure and make the package. |
pascal@524 | 16 compile_rules() |
pascal@524 | 17 { |
pascal@1734 | 18 cd $src |
pascal@1734 | 19 make |
pascal@13269 | 20 cp $stuff/*.S $stuff/pack . |
pascal@13269 | 21 cc -o unpack.o -Wa,-a=unpack.lst -c unpack.S |
pascal@13269 | 22 objcopy -O binary unpack.o unpack.bin |
pascal@13269 | 23 ./pack --build unpack.bin |
pascal@13269 | 24 ./pack memtest.bin memtest.packed |
pascal@524 | 25 } |
pascal@524 | 26 |
pascal@524 | 27 |
pascal@524 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@524 | 29 genpkg_rules() |
pascal@524 | 30 { |
pascal@13269 | 31 mkdir -p $fs/boot |
pascal@13269 | 32 cp $src/memtest.packed $fs/boot/memtest |
pascal@524 | 33 } |