wok-next annotate etherboot/receipt @ rev 21727

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents d5aab818505e
children
rev   line source
pascal@515 1 # SliTaz package receipt.
pascal@515 2
pascal@515 3 PACKAGE="etherboot"
Hans-G?nter@21259 4 VERSION="5.4.4"
pascal@515 5 CATEGORY="system-tools"
al@21020 6 SHORT_DESC="Ethernet bootloader for PXE and NBI images"
pascal@515 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
al@21020 9 WEB_SITE="http://etherboot.org/wiki/"
al@21020 10
pascal@515 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@515 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@515 13
Hans-G?nter@21259 14 BUILD_DEPENDS="perl"
pascal@15588 15
Hans-G?nter@21259 16 compile_rules()
Hans-G?nter@21259 17 {
pascal@515 18 cd $src/src
Hans-G?nter@21259 19 make bin/etherboot-net.bzImage
pascal@515 20 }
pascal@515 21
Hans-G?nter@21259 22 genpkg_rules()
Hans-G?nter@21259 23 {
pascal@515 24 mkdir -p $fs/usr/share/boot
pascal@541 25 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot
pascal@515 26 }
pascal@515 27
Hans-G?nter@21259 28 post_install()
Hans-G?nter@21259 29 {
al@21020 30 [ -n "$quiet" ] || cat <<EOT
al@21020 31
al@21020 32 .------------------------------------------.
al@21020 33 | You can create pxe/nbi boot floppy with: |
al@21020 34 | |
al@21020 35 | # cp /usr/share/boot/etherboot /dev/fd0 |
al@21020 36 '------------------------------------------'
al@21020 37 EOT
pascal@515 38 }