wok-6.x annotate ipxe/receipt @ rev 14789
Fix ownership and permissions for some files in some packages: adeskbar, ajaxterm, amsn, anacron, arora, asciiquarium, assaultcube-data, asterisk-sound-fr, asterisk-sound, attr-dev, attr, audacious, avidemux, awstats, bind-dev, binutils, blogotext, bootchart, btanks, bzip2-dev, c-client, cairo-dock.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 08 11:45:27 2013 +0300 (2013-07-08) |
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 } |