wok-6.x annotate memtest-serial/receipt @ rev 25085
gnumeric: added dependency goffice
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 17 06:26:00 2022 +0100 (2022-06-17) |
parents | e197a1539e2e |
children |
rev | line source |
---|---|
pascal@15237 | 1 # SliTaz package receipt. |
pascal@15237 | 2 |
pascal@15237 | 3 PACKAGE="memtest-serial" |
pascal@15468 | 4 VERSION="5.01" |
pascal@15237 | 5 CATEGORY="base-system" |
pascal@15237 | 6 SHORT_DESC="Memory failures detection tool using serial port." |
pascal@15237 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17225 | 8 LICENSE="GPL2" |
pascal@24991 | 9 WEB_SITE="https://www.memtest.org/" |
pascal@24954 | 10 WANTED="memtest" |
pascal@24945 | 11 PROVIDE="memtest" |
pascal@15237 | 12 |
pascal@15237 | 13 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15237 | 14 genpkg_rules() |
pascal@15237 | 15 { |
pascal@15237 | 16 mkdir -p $fs/boot |
pascal@20210 | 17 cp $src/memtest.packed-115200 $fs/boot/memtest.exe |
pascal@15237 | 18 } |
pascal@15237 | 19 |
pascal@15237 | 20 # Pre and post install commands for Tazpkg. |
pascal@15237 | 21 post_install() |
pascal@15237 | 22 { |
pascal@20210 | 23 [ -s $1/boot/isolinux/isolinux.cfg ] && |
pascal@20210 | 24 ! grep -qs 'Check memory' $1/boot/isolinux/isolinux.cfg && sed -i \ |
pascal@20210 | 25 's|LABEL md5|LABEL memtest mem ram\ |
pascal@20210 | 26 MENU LABEL Check memory\ |
pascal@20210 | 27 KERNEL /boot/memtest.exe\ |
pascal@20210 | 28 \n&|' $1/boot/isolinux/isolinux.cfg |
pascal@20219 | 29 cat <<EOT |
pascal@20219 | 30 |
pascal@20219 | 31 Output to vga and serial port. Default kernel cmdline: console=ttyS0,115200e8 |
pascal@20219 | 32 EOT |
pascal@15237 | 33 } |