diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-22 22:15:05 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-07-22 22:15:05 -0500 |
commit | 6aad3a73d60c7491af6d0676da9f935c27ebac0d (patch) | |
tree | aad25f546c54bb3c76640ec4311f49530f72233a | |
parent | 8c95b54075687f162ba5455ca1c0c7d64d5ff51b (diff) | |
download | packages-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
-rw-r--r-- | user/libtirpc/APKBUILD | 32 |
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" |