wok-6.x view gpxe/receipt @ rev 4097

Update firefox french language pack
author Christophe Lincoln <pankso@slitaz.org>
date Fri Sep 18 11:09:19 2009 +0200 (2009-09-18)
parents 40049921ce2b
children 33a68ba04eb6
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/Old/$TARBALL"
11 BUILD_DEPENDS="perl"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/src
17 for i in prefix.u default_boot.u cmdline.u url_list.u; do
18 [ -f done.$i ] && continue
19 echo "Apply $i..."
20 patch -p2 < ../../stuff/$i || return 1
21 touch done.$i
22 done
23 make bin/gpxe.lkrn bin/undionly.kpxe
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/boot
30 cp $src/src/bin/gpxe.lkrn $fs/boot/gpxe
31 # install 255 bytes of forced url at offset 519
32 echo -n "\
33 http://mirror.slitaz.org/pxe/pxelinux.0,\
34 http://www.linuxembarque.com/slitaz/mirror/pxe/pxelinux.0,\
35 http://download.tuxfamily.org/slitaz/pxe/pxelinux.0" | cat - /dev/zero | \
36 dd bs=1 seek=519 count=255 conv=notrunc of=$fs/boot/gpxe
37 # Package all gpxe pkgs
38 for i in $(cd $WOK; ls -d gpxe-*)
39 do
40 tazwok genpkg $i
41 done
42 }