wok diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/etherboot/receipt	Tue Apr 08 13:24:00 2008 +0000
     1.3 @@ -0,0 +1,35 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="etherboot"
     1.7 +VERSION="5.4.3"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Ethernet bootloader for PXE and NBI images."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12 +WEB_SITE="http://www.etherboot.org/"
    1.13 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.14 +
    1.15 +# Rules to configure and make the package.
    1.16 +compile_rules()
    1.17 +{
    1.18 +	cd $src/src
    1.19 +	patch -p2 < ../../stuff/etherboot-net.u
    1.20 +	make bin/etherboot-net.zdsk
    1.21 +}
    1.22 +
    1.23 +
    1.24 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.25 +genpkg_rules()
    1.26 +{
    1.27 +	mkdir -p $fs/usr/share/boot
    1.28 +	cp $src/src/bin/etherboot-net.zdsk $fs/usr/share/boot/etherboot
    1.29 +}
    1.30 +
    1.31 +# Pre and post install commands for Tazpkg.
    1.32 +post_install()
    1.33 +{
    1.34 +	echo "----"
    1.35 +	echo "You can create pxe/nbi boot floppy with:"
    1.36 +	echo "# cp /usr/share/boot/etherboot /dev/fd0"
    1.37 +	echo "----"
    1.38 +}