SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "memtest"

# SliTaz package receipt.

PACKAGE="memtest"
VERSION="4.20"
CATEGORY="base-system"
SHORT_DESC="Memory failures detection tool."
MAINTAINER="pascal.bellard@slitaz.org"
SOURCE="memtest86+"
TARBALL="$SOURCE-$VERSION.tar.gz"
WEB_SITE="http://www.memtest.org/"
WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    make
} 


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p  $fs/usr/share/boot
    lzma e $src/memtest.bin $fs/usr/share/boot/memtest.lzma
}

# Pre and post install commands for Tazpkg.
post_install()
{
    echo "----"
    echo "You can create memtest boot floppy with:"
    echo "# unlzma -c /usr/share/boot/memtest.lzma > /dev/fd0"
    echo "----"
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)