wok-next view btmgr/receipt @ rev 11380
Improvement: libwebkit doesn't need -j1 to compile anymore
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 03:55:28 2011 +0100 (2011-12-10) |
parents | 4273e906522b |
children | eb8067417980 |
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"
11 TAGS="boot loader floppy CD"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 echo "I'm too lazy to hack and build it !"
17 # $stuff/btmgr has been built this way:
18 # 1- # wget http://btmgr.sourceforge.net/${VERSION%-*}/sbminst-static
19 # 2- # chmod +x sbminst-static
20 # 3- # dd if=/dev/zero of=/dev/fd0 bs=18k count=80
21 # 4- # ./sbminst-static -t us -d /dev/fd0
22 # 5- # dd if=/dev/fd0 of=$stuff/btmgr
23 # 6- remove tailing zeros $stuff/btmgr
24 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share/boot
31 cp $stuff/btmgr $fs/usr/share/boot/
32 }
34 # Pre and post install commands for Tazpkg.
35 post_install()
36 {
37 echo "----"
38 echo "You can create boot floppy with:"
39 echo "# cp /usr/share/boot/btmgr /dev/fd0"
40 echo "----"
41 }