wok-next view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="etherboot"
4 VERSION="5.4.4"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ethernet bootloader for PXE and NBI images"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://etherboot.org/wiki/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 BUILD_DEPENDS="perl"
16 compile_rules()
17 {
18 cd $src/src
19 make bin/etherboot-net.bzImage
20 }
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/share/boot
25 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot
26 }
28 post_install()
29 {
30 [ -n "$quiet" ] || cat <<EOT
32 .------------------------------------------.
33 | You can create pxe/nbi boot floppy with: |
34 | |
35 | # cp /usr/share/boot/etherboot /dev/fd0 |
36 '------------------------------------------'
37 EOT
38 }