wok annotate ipxe/receipt @ rev 15051

ibus-dev: no /usr/include ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 18:56:11 2013 +0000 (2013-08-12)
parents eea5b78b16de
children db33cd473e3e
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@14781 9 LICENSE="GPL2"
pascal@13422 10 WEB_SITE="http://ipxe.org/"
pascal@13422 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@13422 12 WGET_URL="https://git.ipxe.org/ipxe.git/snapshot/$GIT_TAG.tar.bz2"
pascal@13422 13
pascal@13422 14 DEPENDS=""
pascal@13422 15 BUILD_DEPENDS="perl wget"
pascal@13422 16
pascal@13422 17 # Rules to configure and make the package.
pascal@13422 18 compile_rules()
pascal@13422 19 {
pascal@13422 20 cd $src/src
pascal@13422 21 make bin/undionly.kpxe bin/ipxe.lkrn
pascal@13422 22 }
pascal@13422 23
pascal@13422 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@13422 25 genpkg_rules()
pascal@13422 26 {
pascal@13422 27 mkdir $fs/boot
pascal@13422 28 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
pascal@13422 29 cat > $fs/boot/ipxe.cmd <<EOT
pascal@13422 30 #!ipxe
pascal@13422 31
pascal@13422 32 dhcp
pascal@13425 33
pascal@13425 34 :menu
pascal@13425 35 menu SliTaz net boot menu
pascal@13425 36 item lan Your PXE boot
pascal@13425 37 item web SliTaz WEB boot
pascal@13425 38 item rolling SliTaz development version
pascal@13425 39 item config iPXE configuration
pascal@13425 40 item exit iPXE command line
pascal@13425 41 choose --default web --timeout 3000 target && goto ${target}
pascal@13425 42
pascal@13425 43 :exit
pascal@13425 44 help
pascal@13422 45 shell
pascal@13425 46 goto menu
pascal@13425 47
pascal@13425 48 :web
pascal@13425 49 chain http://mirror.slitaz.org/pxe/pxelinux.0
pascal@13425 50 chain http://mirror.switch.ch/ftp/mirror/pxe/pxelinux.0
pascal@13425 51 chain http://download.tuxfamily.org/slitaz/pxe/pxelinux.0
pascal@13425 52 goto menu
pascal@13425 53
pascal@13425 54 :lan
pascal@13425 55 autoboot
pascal@13425 56 goto menu
pascal@13425 57
pascal@13425 58 :rolling
pascal@13425 59 sanboot http://mirror.slitaz.org/iso/rolling/slitaz-rolling.iso
pascal@13425 60 goto menu
pascal@13425 61
pascal@13425 62 :config
pascal@13425 63 config
pascal@13425 64 goto menu
pascal@13422 65 EOT
pascal@13422 66 }