wok-current view btmgr/receipt @ rev 17554

Up mdadm (3.3.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 31 18:49:47 2015 +0100 (2015-01-31)
parents a1644dbcf632
children 970c5ec9a60a
line source
1 # SliTaz package receipt.
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/about.html"
11 WGET_URL="http://$PACKAGE.sourceforge.net/${VERSION%-*}/$TARBALL"
12 TAGS="boot loader floppy CD"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 echo "I'm too lazy to hack and build it !"
18 # $stuff/btmgr has been built this way:
19 # 1- # wget http://btmgr.sourceforge.net/${VERSION%-*}/sbminst-static
20 # 2- # chmod +x sbminst-static
21 # 3- # dd if=/dev/zero of=/dev/fd0 bs=18k count=80
22 # 4- # ./sbminst-static -t us -d /dev/fd0
23 # 5- # dd if=/dev/fd0 of=$stuff/btmgr
24 # 6- remove tailing zeros $stuff/btmgr
25 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/boot
32 cp $stuff/btmgr $fs/usr/share/boot/
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 echo "----"
39 echo "You can create boot floppy with:"
40 echo "# cp /usr/share/boot/btmgr /dev/fd0"
41 echo "----"
42 }