wok annotate btmgr/receipt @ rev 21149

updated libboost packages (1.50.0 -> 1.69.0)
author Hans-G?nter Theisgen
date Sat Mar 30 10:43:29 2019 +0100 (2019-03-30)
parents eb8067417980
children 3105f866bc3e
rev   line source
pascal@516 1 # SliTaz package receipt.
pascal@516 2
pascal@516 3 PACKAGE="btmgr"
pascal@516 4 VERSION="3.7-1"
pascal@516 5 CATEGORY="system-tools"
pascal@516 6 SHORT_DESC="Versatile floppy bootloader (can boot many CD-ROM)."
pascal@516 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
pascal@516 9 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1342 10 WEB_SITE="http://$PACKAGE.sourceforge.net/about.html"
pascal@516 11 WGET_URL="http://$PACKAGE.sourceforge.net/${VERSION%-*}/$TARBALL"
jozee@4932 12 TAGS="boot loader floppy CD"
pascal@516 13
pascal@516 14 # Rules to configure and make the package.
pascal@516 15 compile_rules()
pascal@516 16 {
pascal@516 17 echo "I'm too lazy to hack and build it !"
pankso@9697 18 # $stuff/btmgr has been built this way:
pascal@516 19 # 1- # wget http://btmgr.sourceforge.net/${VERSION%-*}/sbminst-static
pascal@516 20 # 2- # chmod +x sbminst-static
pascal@516 21 # 3- # dd if=/dev/zero of=/dev/fd0 bs=18k count=80
pascal@516 22 # 4- # ./sbminst-static -t us -d /dev/fd0
pankso@9697 23 # 5- # dd if=/dev/fd0 of=$stuff/btmgr
pankso@9697 24 # 6- remove tailing zeros $stuff/btmgr
pascal@516 25 }
pascal@516 26
pascal@516 27
pascal@516 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@516 29 genpkg_rules()
pascal@516 30 {
pascal@516 31 mkdir -p $fs/usr/share/boot
pankso@9697 32 cp $stuff/btmgr $fs/usr/share/boot/
pascal@516 33 }
pascal@516 34
pascal@516 35 # Pre and post install commands for Tazpkg.
pascal@516 36 post_install()
pascal@516 37 {
pascal@20319 38 echo
pascal@516 39 echo "----"
pascal@516 40 echo "You can create boot floppy with:"
pascal@516 41 echo "# cp /usr/share/boot/btmgr /dev/fd0"
pascal@516 42 echo "----"
pascal@516 43 }