wok-6.x view ipxe/receipt @ rev 14819
Add: libcups
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Wed Jul 17 13:45:11 2013 +0200 (2013-07-17) |
parents | eea5b78b16de |
children | db33cd473e3e |
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 LICENSE="GPL2"
10 WEB_SITE="http://ipxe.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2"
14 DEPENDS=""
15 BUILD_DEPENDS="perl wget"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src
21 make bin/undionly.kpxe bin/ipxe.lkrn
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir $fs/boot
28 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
29 cat > $fs/boot/ipxe.cmd <<EOT
30 #!ipxe
32 dhcp
34 :menu
35 menu SliTaz net boot menu
36 item lan Your PXE boot
37 item web SliTaz WEB boot
38 item rolling SliTaz development version
39 item config iPXE configuration
40 item exit iPXE command line
41 choose --default web --timeout 3000 target && goto ${target}
43 :exit
44 help
45 shell
46 goto menu
48 :web
49 chain http://mirror.slitaz.org/pxe/pxelinux.0
50 chain http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0
51 chain http://download.tuxfamily.org/slitaz/pxe/pxelinux.0
52 goto menu
54 :lan
55 autoboot
56 goto menu
58 :rolling
59 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso
60 goto menu
62 :config
63 config
64 goto menu
65 EOT
66 }