wok annotate ipxe/receipt @ rev 14594

Add libpano13
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 27 13:23:03 2013 +0200 (2013-05-27)
parents e4c15f996dad
children a436a235f098
rev   line source
pascal@13422 1 # SliTaz package receipt.
pascal@13422 2
pascal@13422 3 PACKAGE="ipxe"
pascal@13422 4 VERSION="1.0.0-20121001"
pascal@13422 5 GIT_TAG="d23db2848813a9d872e1d71272e7f41df7d0d01c"
pascal@13422 6 CATEGORY="system-tools"
pascal@13422 7 SHORT_DESC="Open source network boot firmware."
pascal@13422 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@13422 9 WEB_SITE="http://ipxe.org/"
pascal@13422 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13422 11 WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2"
pascal@13422 12
pascal@13422 13 DEPENDS=""
pascal@13422 14 BUILD_DEPENDS="perl wget"
pascal@13422 15
pascal@13422 16 # Rules to configure and make the package.
pascal@13422 17 compile_rules()
pascal@13422 18 {
pascal@13422 19 cd $src/src
pascal@13422 20 make bin/undionly.kpxe bin/ipxe.lkrn
pascal@13422 21 }
pascal@13422 22
pascal@13422 23 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13422 24 genpkg_rules()
pascal@13422 25 {
pascal@13422 26 mkdir $fs/boot
pascal@13422 27 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
pascal@13422 28 cat > $fs/boot/ipxe.cmd <<EOT
pascal@13422 29 #!ipxe
pascal@13422 30
pascal@13422 31 dhcp
pascal@13425 32
pascal@13425 33 :menu
pascal@13425 34 menu SliTaz net boot menu
pascal@13425 35 item lan Your PXE boot
pascal@13425 36 item web SliTaz WEB boot
pascal@13425 37 item rolling SliTaz development version
pascal@13425 38 item config iPXE configuration
pascal@13425 39 item exit iPXE command line
pascal@13425 40 choose --default web --timeout 3000 target && goto ${target}
pascal@13425 41
pascal@13425 42 :exit
pascal@13425 43 help
pascal@13422 44 shell
pascal@13425 45 goto menu
pascal@13425 46
pascal@13425 47 :web
pascal@13425 48 chain http://mirror.slitaz.org/pxe/pxelinux.0
pascal@13425 49 chain http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0
pascal@13425 50 chain http://download.tuxfamily.org/slitaz/pxe/pxelinux.0
pascal@13425 51 goto menu
pascal@13425 52
pascal@13425 53 :lan
pascal@13425 54 autoboot
pascal@13425 55 goto menu
pascal@13425 56
pascal@13425 57 :rolling
pascal@13425 58 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso
pascal@13425 59 goto menu
pascal@13425 60
pascal@13425 61 :config
pascal@13425 62 config
pascal@13425 63 goto menu
pascal@13422 64 EOT
pascal@13422 65 }