wok-next view gpxe-pxe/receipt @ rev 9012

python-gazpacho: Replace _pkg with DESTDIR. This fixes it.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Mar 03 12:49:02 2011 +0000 (2011-03-03)
parents 7f1f7efb4ddb
children a436a235f098
line source
1 # SliTaz package receipt.
3 PACKAGE="gpxe-pxe"
4 VERSION="0.9.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ethernet bootloader for pxe server."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://www.etherboot.org/"
9 WANTED="gpxe"
11 # Rules to gen a SliTaz package suitable for Tazpkg.
12 genpkg_rules()
13 {
14 mkdir -p $fs/usr/share/boot
15 cp $src/src/bin/undionly.kpxe $fs/usr/share/boot/gpxe.pxe
16 # install 255 bytes of forced url at offset 5
17 echo -n "\
18 http://mirror.slitaz.org/pxe/pxelinux.0,\
19 http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0,\
20 http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \
21 dd bs=1 seek=5 count=255 conv=notrunc of=$fs/usr/share/boot/gpxe.pxe
22 }