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

Add perl-unicode-map
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Oct 19 11:13:51 2008 +0000 (2008-10-19)
parents 72f7366a39f9
children 74b1a6f5d5b0
line source
1 # SliTaz package receipt.
3 PACKAGE="memtest"
4 VERSION="2.01"
5 CATEGORY="base-system"
6 SHORT_DESC="Memory failures detection tool."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.memtest.org/"
10 RAW_WGET_URL="http://www.memtest.org/download/$VERSION/memtest86+-$VERSION.bin.gz"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 [ -f $(basename $RAW_WGET_URL) ] || wget $RAW_WGET_URL
16 }
19 # Rules to gen a SliTaz package suitable for Tazpkg.
20 genpkg_rules()
21 {
22 mkdir -p $fs/usr/share/boot
23 zcat $(basename $RAW_WGET_URL) | lzma e $fs/usr/share/boot/memtest.lzma -si
24 }
26 # Pre and post install commands for Tazpkg.
27 post_install()
28 {
29 echo "----"
30 echo "You can create memtest boot floppy with:"
31 echo "# unlzma -c /usr/share/boot/memtest.lzma > /dev/fd0"
32 echo "----"
33 }