37 lines
1.0 KiB
Bash
37 lines
1.0 KiB
Bash
# Template file for 'libtirpc'
|
|
pkgname=libtirpc
|
|
version=1.3.4
|
|
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="Orphaned <orphan@voidlinux.org>"
|
|
license="BSD-3-Clause"
|
|
homepage="https://sourceforge.net/projects/libtirpc/"
|
|
changelog="http://git.linux-nfs.org/?p=steved/libtirpc.git;a=shortlog"
|
|
distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-${version}.tar.bz2"
|
|
checksum=1e0b0c7231c5fa122e06c0609a76723664d068b0dba3b8219b63e6340b347860
|
|
|
|
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"
|
|
}
|
|
}
|