void-packages/srcpkgs/portablexdr/template
2015-06-22 12:04:40 +02:00

26 lines
740 B
Bash

# Template file for 'portablexdr'
pkgname=portablexdr
version=4.9.1
revision=1
only_for_archs="i686-musl x86_64-musl armv6l-musl armv7l-musl aarch64-musl"
build_style=gnu-configure
short_desc="XDR (RFC 4506) implementation"
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
license="GPL-2"
homepage="http://people.redhat.com/~rjones/${pkgname}"
distfiles="${homepage}/files/${pkgname}-${version}.tar.gz"
checksum=5cf4bdd153cf4d44eaf10b725f451d0cfadc070b4b9a9ccfb64094b8f78de72c
post_install() {
vinstall config.h 644 usr/include/rpc
}
portablexdr-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}