summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoritz Schlarb <schlarbm@uni-mainz.de>2017-03-13 15:00:10 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-04-13 23:20:31 +0200
commit9051a519f693270ee562a3d66b1590f2c8a38c1c (patch)
tree5867e3f940516fa8c1315f93e7908ab0acb524d8 /net-libs
parentsys-apps/openrc: remove unstable version 0.24.1 (diff)
downloadgentoo-9051a519f693270ee562a3d66b1590f2c8a38c1c.tar.gz
gentoo-9051a519f693270ee562a3d66b1590f2c8a38c1c.tar.bz2
gentoo-9051a519f693270ee562a3d66b1590f2c8a38c1c.zip
net-libs/libsearpc: new ebuild.
A simple C language RPC framework. Gentoo-Bug: https://bugs.gentoo.org/499698 Closes: https://github.com/gentoo/gentoo/pull/4198
Diffstat (limited to 'net-libs')
-rw-r--r--net-libs/libsearpc/Manifest1
-rw-r--r--net-libs/libsearpc/libsearpc-3.0.8.ebuild28
-rw-r--r--net-libs/libsearpc/metadata.xml11
3 files changed, 40 insertions, 0 deletions
diff --git a/net-libs/libsearpc/Manifest b/net-libs/libsearpc/Manifest
new file mode 100644
index 000000000000..7d31a691c286
--- /dev/null
+++ b/net-libs/libsearpc/Manifest
@@ -0,0 +1 @@
+DIST libsearpc-3.0.8.tar.gz 48740 SHA256 83b45fa2f4b7d7ae6dd34ca04d430433551ef493cdaf3cbcc768bd6099377d90 SHA512 1f2cf9a15a004b6ddf8fc0b6a436a5db09a514cea4cec94ce9fa6ce973cd71dfc4a112e948a36ab0be61d736f1021622e46429d07de70b23c25b886d1e51c02a WHIRLPOOL 06f222a8247fb6683390617d34960dec0e9b2fb4b2cb19bb436a7dbb52fed0a008c449d4d37331d159cdea2a9a74543c09cb9a9e6ab491f776e56ade4235fab9
diff --git a/net-libs/libsearpc/libsearpc-3.0.8.ebuild b/net-libs/libsearpc/libsearpc-3.0.8.ebuild
new file mode 100644
index 000000000000..e726c25bacbc
--- /dev/null
+++ b/net-libs/libsearpc/libsearpc-3.0.8.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit autotools python-single-r1 vcs-snapshot
+
+DESCRIPTION="A simple C language RPC framework"
+HOMEPAGE="https://github.com/haiwen/libsearpc/ http://seafile.com/"
+SRC_URI="https://github.com/haiwen/${PN}/archive/v3.1-latest.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+ >=dev-libs/glib-2.26.0
+ >=dev-libs/jansson-2.2.1"
+RDEPEND="${DEPEND}
+ dev-python/simplejson[${PYTHON_USEDEP}]"
+
+src_prepare() {
+ default
+ sed -i -e "s/(DESTDIR)//" ${PN}.pc.in || die
+ eautoreconf
+}
diff --git a/net-libs/libsearpc/metadata.xml b/net-libs/libsearpc/metadata.xml
new file mode 100644
index 000000000000..5b95006282eb
--- /dev/null
+++ b/net-libs/libsearpc/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>moschlar@metalabs.de</email>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+</pkgmetadata>