wok-stable view etherboot/receipt @ rev 11067

Up: bind to 9.8.1.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 00:47:21 2011 +0000 (2011-10-17)
parents 3d99ecce2d4b
children
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 }