SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "libtirpc"

# SliTaz package receipt.

PACKAGE="libtirpc"
VERSION="1.3.4"
CATEGORY="system-tools"
SHORT_DESC="Transport-Independent RPC library."
MAINTAINER="pascal.bellard@slitaz.org"
LICENSE="BSD"
WEB_SITE="https://sourceforge.net/projects/libtirpc/"

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

HOST_ARCH="i486 arm"

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

# Rules to configure and make the package.
compile_rules()
{
    ./configure            \
        sysconfdir=/etc        \
        --disable-gssapi    \
        $CONFIGURE_ARGS &&
    make &&
    make install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    cook_copy_folders    etc
    cook_copy_files        *.so*
}
5935 packages and 845883 files in cooking database (Sun Jun 2 00:46:56 2024)