wok view ipxe/receipt @ rev 14463

Up: ndoutils (1.5.2)
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Apr 27 03:10:35 2013 +0200 (2013-04-27)
parents e4c15f996dad
children a436a235f098
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 dhcp
33 :menu
34 menu SliTaz net boot menu
35 item lan Your PXE boot
36 item web SliTaz WEB boot
37 item rolling SliTaz development version
38 item config iPXE configuration
39 item exit iPXE command line
40 choose --default web --timeout 3000 target && goto ${target}
42 :exit
43 help
44 shell
45 goto menu
47 :web
48 chain http://mirror.slitaz.org/pxe/pxelinux.0
49 chain http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0
50 chain http://download.tuxfamily.org/slitaz/pxe/pxelinux.0
51 goto menu
53 :lan
54 autoboot
55 goto menu
57 :rolling
58 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso
59 goto menu
61 :config
62 config
63 goto menu
64 EOT
65 }