wok-current rev 14798

memtest: add license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jul 13 14:32:56 2013 +0200 (2013-07-13)
parents 8ee389d86c73
children fd331c8e3aa5
files memtest/receipt memtest/stuff/pack
line diff
     1.1 --- a/memtest/receipt	Sat Jul 13 10:07:17 2013 +0200
     1.2 +++ b/memtest/receipt	Sat Jul 13 14:32:56 2013 +0200
     1.3 @@ -5,12 +5,13 @@
     1.4  CATEGORY="base-system"
     1.5  SHORT_DESC="Memory failures detection tool."
     1.6  MAINTAINER="pascal.bellard@slitaz.org"
     1.7 +LICENSE="GPL"
     1.8  SOURCE="memtest86+"
     1.9  TARBALL="$SOURCE-$VERSION.tar.gz"
    1.10  WEB_SITE="http://www.memtest.org/"
    1.11  WGET_URL="${WEB_SITE}download/$VERSION/$TARBALL"
    1.12  
    1.13 -BUILD_DEPENDS="lzma"
    1.14 +BUILD_DEPENDS="xz"
    1.15  
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18 @@ -36,3 +37,11 @@
    1.19  	mkdir -p $fs/boot
    1.20  	cp $src/memtest.packed-115200 $fs/boot/memtest
    1.21  }
    1.22 +
    1.23 +# Pre and post install commands for Tazpkg.
    1.24 +post_install()
    1.25 +{
    1.26 +	cat <<EOT
    1.27 +Output to vga and serial port. Default kernel cmdline: console=ttyS0,115200e8
    1.28 +EOT
    1.29 +}
     2.1 --- a/memtest/stuff/pack	Sat Jul 13 10:07:17 2013 +0200
     2.2 +++ b/memtest/stuff/pack	Sat Jul 13 14:32:56 2013 +0200
     2.3 @@ -22,7 +22,7 @@
     2.4  
     2.5  compress()
     2.6  {
     2.7 -	lzma e -si -so
     2.8 +	xz -z -e --format=lzma --lzma1=mode=normal --stdout
     2.9  }
    2.10  
    2.11  main()