wok view btmgr/receipt @ rev 20670
Up speex (1.2.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 15:15:42 2019 +0100 (2019-01-21) |
parents | eb8067417980 |
children | 3105f866bc3e |
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 "----"
40 echo "You can create boot floppy with:"
41 echo "# cp /usr/share/boot/btmgr /dev/fd0"
42 echo "----"
43 }