wok-next view etherboot/receipt @ rev 1442

linux lzma hardinfo etherboot mISDN busybox: apply path once
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 02 16:39:02 2008 +0000 (2008-10-02)
parents 4a87a0aa0476
children 3d99ecce2d4b
line source
1 # SliTaz package receipt.
3 PACKAGE="etherboot"
4 VERSION="5.4.3"
5 CATEGORY="system-tools"
6 SHORT_DESC="Ethernet bootloader for PXE and NBI images."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.etherboot.org/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src/src
16 while read file; do
17 [ -f done.$file ] && continue
18 patch -p2 < ../../stuff/$file
19 touch done.$file
20 done <<EOT
21 etherboot-net.u
22 etherboot-prefix.u
23 EOT
24 make bin/etherboot-net.bzImage
25 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/boot
32 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot
33 }
35 # Pre and post install commands for Tazpkg.
36 post_install()
37 {
38 echo "----"
39 echo "You can create pxe/nbi boot floppy with:"
40 echo "# cp /usr/share/boot/etherboot /dev/fd0"
41 echo "----"
42 }