wok-6.x view etherboot/receipt @ rev 13343
added description to nathive. Getting back into the swing of things.
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Wed Sep 05 22:34:09 2012 +0000 (2012-09-05) |
parents | 3d99ecce2d4b |
children | fcdd50638150 |
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 BUILD_DEPENDS="perl"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.etherboot.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src/src
17 while read file; do
18 [ -f done.$file ] && continue
19 patch -p2 < $stuff/$file
20 touch done.$file
21 done <<EOT
22 etherboot-net.u
23 etherboot-prefix.u
24 EOT
25 make bin/etherboot-net.bzImage
26 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/share/boot
33 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot
34 }
36 # Pre and post install commands for Tazpkg.
37 post_install()
38 {
39 echo "----"
40 echo "You can create pxe/nbi boot floppy with:"
41 echo "# cp /usr/share/boot/etherboot /dev/fd0"
42 echo "----"
43 }