SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "ypbind-mt"

# SliTaz package receipt.

PACKAGE="ypbind-mt"
VERSION="1.31"
CATEGORY="network"
SHORT_DESC="Yellow pages client daemon"
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="GPL2"
TARBALL="$PACKAGE-$VERSION.tar.gz"
WEB_SITE="https://www.kernel.org/pub/linux/utils/net/NIS/"
WGET_URL="https://github.com/thkukuk/ypbind-mt/archive/refs/tags/ypbind-mt-${VERSION/./_}.tar.gz"

# What is the latest version available today?
current_version()
{
    wget -O - https://github.com/thkukuk/ypbind-mt/releases 2>/dev/null | \
    sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q'
}

# Rules to configure and make the package.
compile_rules()
{
    ./configure --prefix=/usr --infodir=/usr/share/info \
    --mandir=/usr/share/man \
    $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr
    cp -a $install/usr/sbin $fs/usr
}
6025 packages and 203154 files in current database (Thu Apr 25 06:17:47 2024)