wok-6.x view ipxe/receipt @ rev 17285
Add libnetfilter_cttimeout
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 27 12:18:59 2014 +0100 (2014-10-27) |
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 }