SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "rpcbind"

# SliTaz package receipt.

PACKAGE="rpcbind"
VERSION="1.2.6"
CATEGORY="network"
SHORT_DESC="RPC program numbers to universal addresses converter."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://sourceforge.net/projects/rpcbind/"

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

DEPENDS="libtirpc"
BUILD_DEPENDS="libtirpc-dev"

HOST_ARCH="i486 arm"

# Handle cross compilation.
case "$ARCH" in
    arm*) export CPPFLAGS="$CPPFLAGS -I/cross/$ARCH/sysroot/usr/include/tirpc" ;;
esac

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure                \
        --with-systemdsystemunitdir=no    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

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