wok-6.x annotate gpxe-pxe/receipt @ rev 4058

Fix missing pth-dev package
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 10 00:14:35 2009 +0200 (2009-09-10)
parents bbd4c519c147
children d6b1e6646591
rev   line source
pascal@963 1 # SliTaz package receipt.
pascal@963 2
pascal@963 3 PACKAGE="gpxe-pxe"
pascal@963 4 VERSION="0.9.3"
pascal@963 5 CATEGORY="system-tools"
pascal@963 6 SHORT_DESC="Ethernet bootloader for pxe server."
pascal@963 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@963 8 WEB_SITE="http://www.etherboot.org/"
pascal@963 9 WANTED="gpxe"
pascal@963 10
pascal@963 11 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@963 12 genpkg_rules()
pascal@963 13 {
pascal@963 14 mkdir -p $fs/usr/share/boot
pascal@963 15 cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe
pascal@2339 16 # install 255 bytes of forced url at offset 5
pascal@2339 17 echo -n "\
pascal@2339 18 http://mirror.slitaz.org/pxe/pxelinux.0,\
pascal@2640 19 http://www.linuxembarque.com/slitaz/mirror/pxe/pxelinux.0,\
pascal@2339 20 http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \
pascal@2339 21 dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
pascal@963 22 }