wok-next view btmgr/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 42d9d6d83956
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="btmgr"
4 VERSION="3.7-1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Versatile floppy bootloader (can boot many CD-ROM)"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://btmgr.sourceforge.net/about.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://btmgr.sourceforge.net/${VERSION%-*}/$TARBALL"
14 compile_rules() {
15 echo "I'm too lazy to hack and build it !"
16 # $stuff/btmgr has been built this way:
17 # 1- # wget http://btmgr.sourceforge.net/${VERSION%-*}/sbminst-static
18 # 2- # chmod +x sbminst-static
19 # 3- # dd if=/dev/zero of=/dev/fd0 bs=18k count=80
20 # 4- # ./sbminst-static -t us -d /dev/fd0
21 # 5- # dd if=/dev/fd0 of=$stuff/btmgr
22 # 6- remove tailing zeros $stuff/btmgr
24 install -Dm644 $stuff/btmgr $install/usr/share/boot/btmgr
25 }
28 genpkg_rules() {
29 copy @std
30 TAGS="boot loader floppy CD"
31 }
33 post_install() {
34 [ -n "$quiet" ] || cat <<EOT
36 .-------------------------------------.
37 | You can create boot floppy with: |
38 | |
39 | # cp /usr/share/boot/btmgr /dev/fd0 |
40 '-------------------------------------'
41 EOT
42 }