wok-stable view gpxe/receipt @ rev 997
receipt for rox-filer default icons
author | Pierre-Jean Fichet <sygne@ombres.eu> |
---|---|
date | Sun Jul 06 16:48:10 2008 +0200 (2008-07-06) |
parents | 7ce662304f43 |
children | 71aeaedf0b9b |
line source
1 # SliTaz package receipt.
3 PACKAGE="gpxe"
4 VERSION="0.9.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ethernet bootloader."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.etherboot.org/"
10 WGET_URL="http://kernel.org/pub/software/utils/boot/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src/src
16 for i in prefix.u default_boot.u; do
17 patch -p2 < ../../stuff/$i || return 1
18 done
19 make bin/gpxe.lkrn bin/undionly.kpxe
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/boot
26 cp $src/src/bin/gpxe.lkrn $fs/boot/gpxe
27 # install 127 bytes of forced url at offset 519
28 echo -n "http://boot.slitaz.org/gpxe" | cat - /dev/zero | \
29 dd bs=1 seek=519 count=127 conv=notrunc of=$fs/boot/gpxe
30 # Package all gpxe pkgs
31 for i in $(cd $WOK; ls -d gpxe-*)
32 do
33 tazwok genpkg $i
34 done
35 }