summaryrefslogtreecommitdiff
path: root/user/libtirpc
diff options
context:
space:
mode:
Diffstat (limited to 'user/libtirpc')
-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"