wok annotate etherboot/receipt @ rev 1100
lostirc: irc.toile-libre.org host now the official IRC chan
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jul 18 14:22:51 2008 +0200 (2008-07-18) |
parents | 8d43117e4680 |
children | e64f8e87ea6d |
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@538 | 17 patch -p2 < ../../stuff/etherboot-prefix.u |
pascal@541 | 18 make bin/etherboot-net.bzImage |
pascal@515 | 19 } |
pascal@515 | 20 |
pascal@515 | 21 |
pascal@515 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@515 | 23 genpkg_rules() |
pascal@515 | 24 { |
pascal@515 | 25 mkdir -p $fs/usr/share/boot |
pascal@541 | 26 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot |
pascal@515 | 27 } |
pascal@515 | 28 |
pascal@515 | 29 # Pre and post install commands for Tazpkg. |
pascal@515 | 30 post_install() |
pascal@515 | 31 { |
pascal@515 | 32 echo "----" |
pascal@515 | 33 echo "You can create pxe/nbi boot floppy with:" |
pascal@515 | 34 echo "# cp /usr/share/boot/etherboot /dev/fd0" |
pascal@515 | 35 echo "----" |
pascal@515 | 36 } |