wok-4.x annotate etherboot/receipt @ rev 515
Add: etherboot (floppy PXE bootloader)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Apr 08 13:24:00 2008 +0000 (2008-04-08) |
parents | |
children | 8d43117e4680 |
rev | line source |
---|---|
pascal@515 | 1 # SliTaz package receipt. |
pascal@515 | 2 |
pascal@515 | 3 PACKAGE="etherboot" |
pascal@515 | 4 VERSION="5.4.3" |
pascal@515 | 5 CATEGORY="system-tools" |
pascal@515 | 6 SHORT_DESC="Ethernet bootloader for PXE and NBI images." |
pascal@515 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@515 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@515 | 9 WEB_SITE="http://www.etherboot.org/" |
pascal@515 | 10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@515 | 11 |
pascal@515 | 12 # Rules to configure and make the package. |
pascal@515 | 13 compile_rules() |
pascal@515 | 14 { |
pascal@515 | 15 cd $src/src |
pascal@515 | 16 patch -p2 < ../../stuff/etherboot-net.u |
pascal@515 | 17 make bin/etherboot-net.zdsk |
pascal@515 | 18 } |
pascal@515 | 19 |
pascal@515 | 20 |
pascal@515 | 21 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@515 | 22 genpkg_rules() |
pascal@515 | 23 { |
pascal@515 | 24 mkdir -p $fs/usr/share/boot |
pascal@515 | 25 cp $src/src/bin/etherboot-net.zdsk $fs/usr/share/boot/etherboot |
pascal@515 | 26 } |
pascal@515 | 27 |
pascal@515 | 28 # Pre and post install commands for Tazpkg. |
pascal@515 | 29 post_install() |
pascal@515 | 30 { |
pascal@515 | 31 echo "----" |
pascal@515 | 32 echo "You can create pxe/nbi boot floppy with:" |
pascal@515 | 33 echo "# cp /usr/share/boot/etherboot /dev/fd0" |
pascal@515 | 34 echo "----" |
pascal@515 | 35 } |