wok-next view btmgr/receipt @ rev 6928

Up: elfutils to 0.149. Fixed it to build in clean chroot. Fixed it also to download sources with real wget by since sources are on https host. So now elfutils can download its sources just fine.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Oct 22 22:36:22 2010 +0000 (2010-10-22)
parents c7714dc13119
children a1644dbcf632
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 }