wok-current view ipxe/receipt @ rev 15622
network-manager: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 08 13:38:47 2013 +0000 (2013-12-08) |
parents | a436a235f098 |
children | 3cf0f7376fcf |
line source
1 # SliTaz package receipt.
3 PACKAGE="ipxe"
4 VERSION="1.0.0-20130925"
5 GIT_TAG="7405685df2bea9a457970d8b5a63ede08fcda6f7"
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 cp $stuff/lkrnprefix.S arch/i386/prefix
22 make bin/undionly.kpxe bin/ipxe.lkrn
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir $fs/boot
29 cp -a $src/src/bin/ipxe.lkrn $fs/boot/ipxe
30 OFS=$((0x28B))
31 dd if=$stuff/ipxe.cmd bs=1 of=$fs/boot/ipxe conv=notrunc \
32 seek=$OFS count=$((0xA00-$OFS))
33 OFS=$((0x151))
34 unix2dos <<EOT | dd bs=1 of=$fs/boot/ipxe conv=notrunc \
35 seek=$OFS count=$((0x1F0-$OFS))
36 $SHORT_DESC
37 EOT
38 }