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="http://free.nchc.org.tw/$PACKAGE-core/src/stable/$TARBALL"
#https://sourceforge.net/projects/drbl/files/drbl_stable/2.25.10/drbl-2.25.10.tar.xz/download
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 - ${WGET_URL%/*} 2>/dev/null | \
    sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed 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/
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)