SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "drbl"

# SliTaz package receipt.

PACKAGE="drbl"
VERSION="2.25.10"
CATEGORY="misc"
SHORT_DESC="Diskless Remote Boot in Linux"
MAINTAINER="shann@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://drbl.org/"

TARBALL="$PACKAGE-$VERSION.tar.xz"
WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"

DEPENDS="bash bc binutils dialog disktype dmidecode e2fsprogs ethtool expect \
file gnu-netcat lzop memtest mtools openssh parted partimage perl pigz procps \
reiserfsprogs rsync strace tcpdump syslinux systemd udpcast"
BUILD_DEPENDS=""

# What is the latest version available today?
current_version()
{
    wget -O - https://sourceforge.net/projects/drbl/files/drbl_stable/ 2>/dev/null | \
    sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
    sed '/scope="row/!d;s|.*/drbl-||;s|-.*||;q'
}

# Rules to configure and make the package.
compile_rules()
{
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cp -a $install/* $fs/
}
5935 packages and 845883 files in cooking database (Thu Jun 27 00:01:54 2024)