summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 22:15:05 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-07-22 22:15:05 -0500
commit6aad3a73d60c7491af6d0676da9f935c27ebac0d (patch)
treeaad25f546c54bb3c76640ec4311f49530f72233a /user
parent8c95b54075687f162ba5455ca1c0c7d64d5ff51b (diff)
downloadpackages-6aad3a73d60c7491af6d0676da9f935c27ebac0d.tar.gz
packages-6aad3a73d60c7491af6d0676da9f935c27ebac0d.tar.bz2
packages-6aad3a73d60c7491af6d0676da9f935c27ebac0d.tar.xz
packages-6aad3a73d60c7491af6d0676da9f935c27ebac0d.zip
user/libtirpc: pull in, bump to 1.0.3, fix build, modernise, fix
Diffstat (limited to 'user')
-rw-r--r--user/libtirpc/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/user/libtirpc/APKBUILD b/user/libtirpc/APKBUILD
new file mode 100644
index 000000000..966a9ed57
--- /dev/null
+++ b/user/libtirpc/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=libtirpc
+pkgver=1.0.3
+pkgrel=0
+pkgdesc="Transport Independent RPC library (SunRPC replacement)"
+url="http://libtirpc.sourceforge.net/"
+arch="all"
+options="!check" # No test suite.
+license="BSD-3-Clause"
+depends=""
+depends_dev="bsd-compat-headers krb5-dev"
+makedepends="$depends_dev autoconf automake libtool linux-headers"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-dbg"
+source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
+
+build() {
+ cd "$builddir"
+ export CFLAGS="$CFLAGS -D__u_char_defined -D__daddr_t_defined"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconf=/etc
+ make
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="1f1cf7dd6f30ddddc919e4caf6db926f1d532f78d5a93e8aaa2acde6b046be0650c4c46549da0ffd5fa7fb9e550af1a871ed6e02ededf504c6667d2e82eba2cc libtirpc-1.0.3.tar.bz2"