public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/riak_pb/
@ 2016-05-01 11:18 Amadeusz Piotr Żołnowski
  0 siblings, 0 replies; only message in thread
From: Amadeusz Piotr Żołnowski @ 2016-05-01 11:18 UTC (permalink / raw
  To: gentoo-commits

commit:     5454cd406bbee8e163fb2d9fc068031aa4721f52
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun May  1 09:06:08 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun May  1 09:06:08 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5454cd40

dev-erlang/riak_pb: Add new package

Package-Manager: portage-2.2.28

 dev-erlang/riak_pb/Manifest               |  1 +
 dev-erlang/riak_pb/metadata.xml           |  8 ++++++
 dev-erlang/riak_pb/riak_pb-2.1.0.7.ebuild | 47 +++++++++++++++++++++++++++++++
 3 files changed, 56 insertions(+)

diff --git a/dev-erlang/riak_pb/Manifest b/dev-erlang/riak_pb/Manifest
new file mode 100644
index 0000000..5ee06c5
--- /dev/null
+++ b/dev-erlang/riak_pb/Manifest
@@ -0,0 +1 @@
+DIST riak_pb-2.1.0.7.tar.gz 224466 SHA256 a93c5ca952ec81e52d705dc280c3190a4a4f73419a40c4e6cc27c586d1d40dc1 SHA512 671b164e1eeaf99ccf726f834bc7e819c5cb232361348b45480411f49c1b0a59158abde016b2fdff47240f275bb594ce70f1deeed0c0b2067e79721f6eb13048 WHIRLPOOL 15731399df238fc137356a03523949797413177f18a1d2244bf2e9cb9e7a2d3bd064b5bb71dc5db60ad22392ceb22ce4ca17a9c323e831647b7850d6258f55bb

diff --git a/dev-erlang/riak_pb/metadata.xml b/dev-erlang/riak_pb/metadata.xml
new file mode 100644
index 0000000..92f4567
--- /dev/null
+++ b/dev-erlang/riak_pb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer>
+		<email>aidecoe@gentoo.org</email>
+		<name>Amadeusz Żołnowski</name>
+	</maintainer>
+</pkgmetadata>

diff --git a/dev-erlang/riak_pb/riak_pb-2.1.0.7.ebuild b/dev-erlang/riak_pb/riak_pb-2.1.0.7.ebuild
new file mode 100644
index 0000000..c5641c7
--- /dev/null
+++ b/dev-erlang/riak_pb/riak_pb-2.1.0.7.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="Riak Protocol Buffers Messages"
+HOMEPAGE="https://github.com/basho/riak_pb"
+SRC_URI="https://github.com/basho/${PN}/archive/${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND=">=dev-erlang/protobuffs-0.8.2
+	>=dev-lang/erlang-17.1"
+DEPEND="${CDEPEND}
+	dev-util/rebar"
+RDEPEND="${CDEPEND}"
+
+DOCS=( README.md )
+
+get_erl_libs() {
+	echo "/usr/$(get_libdir)/erlang/lib"
+}
+
+src_prepare() {
+	# Suppress deps check.
+	cat<<EOF >>"${S}/rebar.config.script"
+lists:keystore(deps, 1, CONFIG, {deps, []}).
+EOF
+	sed -e "s/vsn, git/vsn, \"${PV}\"/" \
+		-i "${S}/src/${PN}.app.src" || die
+}
+
+src_compile() {
+	export ERL_LIBS="${EPREFIX}$(get_erl_libs)"
+	rebar compile || die 'rebar compile failed'
+}
+
+src_install() {
+	insinto "$(get_erl_libs)/${P}"
+	doins -r ebin include src
+}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-01 11:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-05-01 11:18 [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/riak_pb/ Amadeusz Piotr Żołnowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox