wok-stable view etherboot/receipt @ rev 4986

fix: RAM for get-eclipse-pdt
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 10:43:08 2010 +0000 (2010-02-25)
parents e64f8e87ea6d
children d1768332cee0
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 }