SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "drbd-utils"

# SliTaz package receipt.

PACKAGE="drbd-utils"
VERSION="9.20.2"
CATEGORY="system-tools"
SHORT_DESC="DRBD is a block device to build high availability clusters."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
WEB_SITE="https://www.linbit.com/en/drbd-community/"

TARBALL="$PACKAGE-$VERSION.tar.gz"
WGET_URL="https://pkg.linbit.com/downloads/drbd/utils/$TARBALL"

DEPENDS="gcc83-lib-base"
BUILD_DEPENDS="flex gcc83 libxslt udev-dev"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/LINBIT/drbd-utils/tags 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        CC=gcc-83            \
        CXX=g++-83            \
        --prefix=/usr            \
        --sysconfdir=/etc        \
        --localstatedir=/var        \
        --with-systemdunitdir=none    \
        --with-prebuiltman        \
        $CONFIGURE_ARGS &&
    make &&
    make install DESTDIR=$DESTDIR
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    etc
    cook_copy_folders    lib
    cook_copy_folders    sbin
    cook_copy_folders    var
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)