void-packages/srcpkgs/libtirpc/template
Érico Nogueira 2f0d7dab08 libtirpc: add changelog.
ChangeLog and NEWS files in the repo aren't updated, so we make do with
the shortlog.
2021-05-31 18:27:08 -03:00

36 lines
1.1 KiB
Bash

# Template file for 'libtirpc'
pkgname=libtirpc
version=1.3.2
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 <ndowens@artixlinux.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=e24eb88b8ce7db3b7ca6eb80115dd1284abc5ec32a8deccfed2224fc2532b9fd
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"
}
}