wok-6.x view etherboot/receipt @ rev 1337
Add mgetty
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Aug 31 12:13:06 2008 +0000 (2008-08-31) |
parents | 8d43117e4680 |
children | e64f8e87ea6d |
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 patch -p2 < ../../stuff/etherboot-net.u
17 patch -p2 < ../../stuff/etherboot-prefix.u
18 make bin/etherboot-net.bzImage
19 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/boot
26 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot
27 }
29 # Pre and post install commands for Tazpkg.
30 post_install()
31 {
32 echo "----"
33 echo "You can create pxe/nbi boot floppy with:"
34 echo "# cp /usr/share/boot/etherboot /dev/fd0"
35 echo "----"
36 }