wok-next view etherboot/receipt @ rev 20678

Up clisp (2.50)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 15 02:59:03 2018 +0300 (2018-05-15)
parents f28887496a5e
children d5aab818505e
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.etherboot.org/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 BUILD_DEPENDS="perl gcc49"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/src
19 make CC=gcc-49 bin/etherboot-net.bzImage
20 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/boot
27 cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot
28 }
30 # Pre and post install commands for Tazpkg.
31 post_install()
32 {
33 echo "----"
34 echo "You can create pxe/nbi boot floppy with:"
35 echo "# cp /usr/share/boot/etherboot /dev/fd0"
36 echo "----"
37 }