wok-next annotate gpxe/receipt @ rev 956
syslinux: add web entry
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 28 06:21:26 2008 +0000 (2008-06-28) |
parents | a9ff8c135e36 |
children | a28a18adeab4 |
rev | line source |
---|---|
pascal@955 | 1 # SliTaz package receipt. |
pascal@955 | 2 |
pascal@955 | 3 PACKAGE="gpxe" |
pascal@955 | 4 VERSION="0.9.3" |
pascal@955 | 5 CATEGORY="system-tools" |
pascal@955 | 6 SHORT_DESC="Ethernet bootloader." |
pascal@955 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@955 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@955 | 9 WEB_SITE="http://www.etherboot.org/" |
pascal@955 | 10 WGET_URL="http://kernel.org/pub/software/utils/boot/$PACKAGE/$TARBALL" |
pascal@955 | 11 |
pascal@955 | 12 # Rules to configure and make the package. |
pascal@955 | 13 compile_rules() |
pascal@955 | 14 { |
pascal@955 | 15 cd $src/src |
pascal@955 | 16 for i in prefix.u default_boot.u; do |
pascal@955 | 17 patch -p2 < ../../stuff/$i || return 1 |
pascal@955 | 18 done |
pascal@955 | 19 make bin/gpxe.lkrn bin/undionly.kpxe |
pascal@955 | 20 } |
pascal@955 | 21 |
pascal@955 | 22 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@955 | 23 genpkg_rules() |
pascal@955 | 24 { |
pascal@956 | 25 mkdir -p $fs/boot |
pascal@956 | 26 cp $src/src/bin/gpxe.lkrn $fs/boot/gpxe |
pascal@955 | 27 } |