# 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 "----" }