wok-next annotate btmgr/receipt @ rev 20637

ghostscript: update (b)deps (avoid jpeg / libjpeg-turbo to be in the same package)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Apr 27 16:32:16 2018 +0300 (2018-04-27)
parents eb8067417980
children d5aab818505e
rev   line source
al@20461 1 # SliTaz package receipt v2.
pascal@516 2
pascal@516 3 PACKAGE="btmgr"
pascal@516 4 VERSION="3.7-1"
pascal@516 5 CATEGORY="system-tools"
al@20461 6 SHORT_DESC="Versatile floppy bootloader (can boot many CD-ROM)"
pascal@516 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15579 8 LICENSE="GPL2"
al@20461 9 WEB_SITE="http://btmgr.sourceforge.net/about.html"
al@20461 10
pascal@516 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@20461 12 WGET_URL="http://btmgr.sourceforge.net/${VERSION%-*}/$TARBALL"
pascal@516 13
al@20461 14 compile_rules() {
pascal@516 15 echo "I'm too lazy to hack and build it !"
al@20461 16 # $stuff/btmgr has been built this way:
al@20461 17 # 1- # wget http://btmgr.sourceforge.net/${VERSION%-*}/sbminst-static
al@20461 18 # 2- # chmod +x sbminst-static
al@20461 19 # 3- # dd if=/dev/zero of=/dev/fd0 bs=18k count=80
al@20461 20 # 4- # ./sbminst-static -t us -d /dev/fd0
al@20461 21 # 5- # dd if=/dev/fd0 of=$stuff/btmgr
al@20461 22 # 6- remove tailing zeros $stuff/btmgr
al@20461 23
al@20461 24 install -Dm644 $stuff/btmgr $install/usr/share/boot/btmgr
pascal@516 25 }
pascal@516 26
pascal@516 27
al@20461 28 genpkg_rules() {
al@20461 29 copy @std
al@20461 30 TAGS="boot loader floppy CD"
pascal@516 31 }
pascal@516 32
al@20461 33 post_install() {
al@20461 34 cat <<EOT
al@20461 35
al@20461 36 .-------------------------------------.
al@20461 37 | You can create boot floppy with: |
al@20461 38 | |
al@20461 39 | # cp /usr/share/boot/btmgr /dev/fd0 |
al@20461 40 '-------------------------------------'
al@20461 41 EOT
pascal@516 42 }