wok-current view btmgr/receipt @ rev 4218

thunar: fix FSH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 24 12:53:29 2009 +0200 (2009-09-24)
parents f43146da6d21
children 4273e906522b
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 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://$PACKAGE.sourceforge.net/about.html"
10 WGET_URL="http://$PACKAGE.sourceforge.net/${VERSION%-*}/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
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
23 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/share/boot
30 cp stuff/btmgr $fs/usr/share/boot/
31 }
33 # Pre and post install commands for Tazpkg.
34 post_install()
35 {
36 echo "----"
37 echo "You can create boot floppy with:"
38 echo "# cp /usr/share/boot/btmgr /dev/fd0"
39 echo "----"
40 }