summaryrefslogtreecommitdiff
path: root/user/rpcsvc-proto/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 16:08:49 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-10 16:08:49 +0000
commitadcc7ec8dc023dfdfddf74cf9b36f6fac518f61e (patch)
treeba2aeaf0988ca76410fe873aa3bc3c6d6e401a5c /user/rpcsvc-proto/APKBUILD
parent738717bfd979326a0a1060103e15dfc6deb064b1 (diff)
downloadpackages-adcc7ec8dc023dfdfddf74cf9b36f6fac518f61e.tar.gz
packages-adcc7ec8dc023dfdfddf74cf9b36f6fac518f61e.tar.bz2
packages-adcc7ec8dc023dfdfddf74cf9b36f6fac518f61e.tar.xz
packages-adcc7ec8dc023dfdfddf74cf9b36f6fac518f61e.zip
user/rpcsvc-proto: new package
Diffstat (limited to 'user/rpcsvc-proto/APKBUILD')
-rw-r--r--user/rpcsvc-proto/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/user/rpcsvc-proto/APKBUILD b/user/rpcsvc-proto/APKBUILD
new file mode 100644
index 000000000..533e63cc5
--- /dev/null
+++ b/user/rpcsvc-proto/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=rpcsvc-proto
+pkgver=1.4
+pkgrel=0
+pkgdesc="RPC service protocol definitions and compiler"
+url=" "
+arch="all"
+license="BSD-3-Clause"
+depends=""
+makedepends=""
+subpackages="$pkgname-doc"
+source="https://github.com/thkukuk/rpcsvc-proto/releases/download/v$pkgver/rpcsvc-proto-$pkgver.tar.gz"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="d1ad662e8036f17cd013b7becbf811caa62ef444f1c48ba6864c3c3cb28c5d69366b0c18b21692d1ad3f8445f33805e6bffe12c00d07e30324f8b930eae418d4 rpcsvc-proto-1.4.tar.gz"