wok-6.x view btmgr/receipt @ rev 564

Up: pcre (7.6) with utf8 support
author Christophe Lincoln <pankso@slitaz.org>
date Sun Apr 13 00:44:44 2008 +0200 (2008-04-13)
parents
children c7714dc13119
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/download.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 }