SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "etherboot"

# SliTaz package receipt.

PACKAGE="etherboot"
VERSION="5.4.3"
CATEGORY="system-tools"
SHORT_DESC="Ethernet bootloader for PXE and NBI images."
MAINTAINER="pascal.bellard@slitaz.org"
BUILD_DEPENDS="perl"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.etherboot.org/"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src/src
    while read file; do
        [ -f done.$file ] && continue
        patch -p2 < $stuff/$file
        touch done.$file
    done <<EOT
etherboot-net.u
etherboot-prefix.u
EOT
    make bin/etherboot-net.bzImage
}


# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/boot
    cp $src/src/bin/etherboot-net.bzImage $fs/usr/share/boot/etherboot
}

# Pre and post install commands for Tazpkg.
post_install()
{
    echo "----"
    echo "You can create pxe/nbi boot floppy with:"
    echo "# cp /usr/share/boot/etherboot /dev/fd0"
    echo "----"
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)