Files
haikuports/net-libs/rpcsvc-proto/rpcsvc_proto-1.4.3.recipe
2022-07-30 23:58:17 +03:00

61 lines
1.3 KiB
Bash

SUMMARY="Protocol definitions from glibc"
DESCRIPTION="This package contains rpcsvc proto.x files from glibc, which are \
missing in libtirpc. Additionaly, it contains rpcgen, which is needed to create \
header files and sources from protocol files."
HOMEPAGE="https://github.com/thkukuk/rpcsvc-proto"
COPYRIGHT="2022 Thorsten Kukuk"
LICENSE="GNU LGPL v2"
REVISION="1"
SOURCE_URI="https://github.com/thkukuk/rpcsvc-proto/archive/refs/tags/v$portVersion.tar.gz"
CHECKSUM_SHA256="6906e0f81bb016bd0216460fc879d3d9f2f6d743be7dfb0d8b32d140226d5ef8"
SOURCE_DIR="rpcsvc-proto-$portVersion"
PATCHES="rpcsvc_proto-$portVersion.patchset"
ARCHITECTURES="all"
SECONDARY_ARCHITECTURES="x86_gcc2 x86"
PROVIDES="
rpcsvc_proto$secondaryArchSuffix= $portVersion
cmd:rpcgen$secondaryArchSuffix = $portVersion
"
REQUIRES="
haiku
lib:libintl$secondaryArchSuffix
"
PROVIDES_devel="
rpcsvc_proto${secondaryArchSuffix}_devel = $portVersion
devel:rpcsvc_proto = $portVersion
"
REQUIRES_devel="
rpcsvc_proto == $portVersion base
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:automake
cmd:autopoint
cmd:autoreconf
cmd:find
cmd:gcc$secondaryArchSuffix
cmd:make
"
BUILD()
{
./autogen.sh
runConfigure configure
make $jobArgs
}
INSTALL()
{
make install
packageEntries devel \
$developDir
}