New package: portablexdr-4.9.1

This commit is contained in:
Andrea Brancaleoni 2015-06-21 17:40:26 +02:00
parent e8784c9156
commit 6a73da639e
4 changed files with 39 additions and 0 deletions

View file

@ -2066,3 +2066,4 @@ libgegl-npd-0.3.so gegl3-0.3.0_1
libgegl-sc-0.3.so gegl3-0.3.0_1
libprocps.so.4 procps-ng-3.3.10_8
libskarnet.so.2 skalibs-2.3.5.1_1
libportablexdr.so.0 portablexdr-4.9.1_1

1
srcpkgs/portablexdr-devel Symbolic link
View file

@ -0,0 +1 @@
portablexdr/

View file

@ -0,0 +1,11 @@
--- rpc/types.h.orig 2015-06-21 16:55:07.949000000 -0200
+++ rpc/types.h 2015-06-21 16:55:15.301000000 -0200
@@ -41,8 +41,6 @@
typedef uint16_t u_short;
typedef uint32_t u_int;
typedef unsigned long u_long;
-typedef uint64_t u_quad_t;
-typedef int64_t quad_t;
typedef char * caddr_t;
#ifndef TRUE

View file

@ -0,0 +1,26 @@
# 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"
}
}