wok view ipxe/receipt @ rev 18528
Up nvidia-173xx
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Tue Oct 27 06:19:41 2015 +0100 (2015-10-27) |
parents | db33cd473e3e |
children | c0ad10db4140 |
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=$((0x156))
34 unix2dos <<EOT | dd bs=1 of=$fs/boot/ipxe conv=notrunc \
35 seek=$OFS count=$((0x1F0-$OFS))
36 $SHORT_DESC
37 EOT
38 }