SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "drbl"

# SliTaz package receipt.

PACKAGE="drbl"
VERSION="5.3.2"
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"

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 udpcast"
BUILD_DEPENDS=""

HOST_ARCH="i486 x86_64"

# 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/

    # Fix miss UTF-8 locale
    for lang in $(ls $fs/usr/share/drbl/lang/bash |grep -Ev 'check-bash-lang|UTF-8'); do
        ln -s $lang $fs/usr/share/drbl/lang/bash/$lang.UTF-8
    done
}
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)