wok-6.x view ipxe/receipt @ rev 13422

Add ipxe
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 03 15:56:21 2012 +0200 (2012-10-03)
parents
children eea5b78b16de
line source
1 # SliTaz package receipt.
3 PACKAGE="ipxe"
4 VERSION="1.0.0-20121001"
5 GIT_TAG="d23db2848813a9d872e1d71272e7f41df7d0d01c"
6 CATEGORY="system-tools"
7 SHORT_DESC="Open source network boot firmware."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 WEB_SITE="http://ipxe.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2"
13 DEPENDS=""
14 BUILD_DEPENDS="perl wget"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src/src
20 make bin/undionly.kpxe bin/ipxe.lkrn
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir $fs/boot
27 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
28 cat > $fs/boot/ipxe.cmd <<EOT
29 #!ipxe
31 prompt --key 0x02 --timeout 3000 Press Ctrl-B for the iPXE command line... && goto shell
32 dhcp
33 chain http://mirror.slitaz.org/pxe/ipxe.php ||
34 chain http://mirror.switch.ch/ftp/mirror/pxe/ipxe.php ||
35 chain http://download.tuxfamily.org/slitaz/pxe/ipxe.php
36 :shell
37 shell
38 EOT
39 }