wok view etherboot/receipt @ rev 3634
Up: pidgin (2.5.8)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Jul 03 11:14:22 2009 +0200 (2009-07-03) |
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 }