Files
haikuports/net-libs/libtirpc/libtirpc-1.3.2.recipe
2022-08-27 15:30:43 +03:00

76 lines
1.9 KiB
Bash

SUMMARY="Transport Independent RPC library (SunRPC replacement)"
DESCRIPTION="This package contains SunLib's implementation of \
transport-independent RPC (TI-RPC) documentation. This library forms a \
piece of the base of Open Network Computing (ONC), and is derived directly \
from the Solaris 2.3 source.
TI-RPC is an enhanced version of TS-RPC that requires the UNIX System V
Transport Layer Interface (TLI) or an equivalent X/Open Transport Interface
(XTI). TI-RPC is on-the-wire compatible with the TS-RPC, which is supported
by almost 70 vendors on all major operating systems. TS-RPC source code
(RPCSRC 4.0) remains available from several internet sites."
HOMEPAGE="https://sourceforge.net/projects/libtirpc/"
COPYRIGHT="2007-2022 libtirpc team"
LICENSE="GNU LGPL v2"
REVISION="2"
SOURCE_URI="https://downloads.sf.net/libtirpc/libtirpc-$portVersion.tar.bz2"
CHECKSUM_SHA256="e24eb88b8ce7db3b7ca6eb80115dd1284abc5ec32a8deccfed2224fc2532b9fd"
SOURCE_DIR="libtirpc-$portVersion"
PATCHES="libtirpc-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
GLOBAL_WRITABLE_FILES="
settings/bindresvport.blacklist auto-merge
settings/netconfig auto-merge
"
PROVIDES="
libtirpc$secondaryArchSuffix= $portVersion
lib:libtirpc$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku
"
PROVIDES_devel="
libtirpc${secondaryArchSuffix}_devel = $portVersion
devel:libtirpc$secondaryArchSuffix = $portVersion
"
REQUIRES_devel="
libtirpc$secondaryArchSuffix == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:automake
cmd:autopoint
cmd:autoreconf
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
"
BUILD()
{
./autogen.sh
runConfigure configure --disable-gssapi
make $jobArgs
}
INSTALL()
{
make install
rm -rf $libDir/*a*
fixPkgconfig
packageEntries devel \
$developDir
}