35 lines
991 B
Bash
35 lines
991 B
Bash
# Template file for 'libtirpc'
|
|
pkgname=libtirpc
|
|
version=1.2.5
|
|
revision=1
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config mit-krb5-devel"
|
|
makedepends="mit-krb5-devel libgssglue-devel"
|
|
conf_files="/etc/netconfig /etc/bindresvport.blacklist"
|
|
short_desc="Transport Independent RPC library (SunRPC replacement)"
|
|
maintainer="Nathan Owens <ndowens04@gmail.com>"
|
|
license="BSD-3-Clause"
|
|
homepage="http://libtirpc.sourceforge.net/"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=f3b6350c7e9c3cd9c58fc7a5e5f8e6be469cc571bb5eb31eb9790b3e675186ca
|
|
|
|
case "$XBPS_TARGET_MACHINE" in
|
|
*-musl) makedepends+=" musl-legacy-compat" ;;
|
|
esac
|
|
|
|
post_install() {
|
|
vconf ${wrksrc}/doc/netconfig
|
|
vlicense COPYING
|
|
}
|
|
|
|
libtirpc-devel_package() {
|
|
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove usr/share/man/man3
|
|
vmove usr/lib/*.a
|
|
vmove usr/lib/*.so
|
|
}
|
|
}
|