* [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/riakc/
@ 2016-05-01 11:18 99% Amadeusz Piotr Żołnowski
0 siblings, 0 replies; 1+ results
From: Amadeusz Piotr Żołnowski @ 2016-05-01 11:18 UTC (permalink / raw
To: gentoo-commits
commit: 0b4c802103340d755e9ac6895792ef15090db703
Author: Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Sun May 1 11:15:57 2016 +0000
Commit: Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Sun May 1 11:15:57 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b4c8021
dev-erlang/riakc: Add new package
Package-Manager: portage-2.2.28
dev-erlang/riakc/Manifest | 1 +
dev-erlang/riakc/metadata.xml | 8 +++++
dev-erlang/riakc/riakc-2.1.1_p20151111.ebuild | 45 +++++++++++++++++++++++++++
3 files changed, 54 insertions(+)
diff --git a/dev-erlang/riakc/Manifest b/dev-erlang/riakc/Manifest
new file mode 100644
index 0000000..bc0e3b5
--- /dev/null
+++ b/dev-erlang/riakc/Manifest
@@ -0,0 +1 @@
+DIST riakc-2.1.1_p20151111.tar.gz 229778 SHA256 9d3b066e05b0b28d84b03cb87873ed28183056e70e9f64ac703e2a0eb2005719 SHA512 b9dfaf4869ed087cfb093626d1dafc496ecd46f367cffb93768e645e1d8d42d577f13ce9a2516d32efd9e2aa1b0214e4572b77f5498979683fceb5d490f0de43 WHIRLPOOL ac3ae051d53f6a8845b49dbb6f87840cea12abfe1d0e782adfbb8194d8894e1f171124f29f9416e895d33fe04434e7f528c5a6c1dea88e7dea3b7c6cb1def774
diff --git a/dev-erlang/riakc/metadata.xml b/dev-erlang/riakc/metadata.xml
new file mode 100644
index 0000000..92f4567
--- /dev/null
+++ b/dev-erlang/riakc/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/riakc/riakc-2.1.1_p20151111.ebuild b/dev-erlang/riakc/riakc-2.1.1_p20151111.ebuild
new file mode 100644
index 0000000..2570e27
--- /dev/null
+++ b/dev-erlang/riakc/riakc-2.1.1_p20151111.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="Erlang clients for Riak"
+HOMEPAGE="https://github.com/basho/riak-erlang-client"
+SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+CDEPEND=">=dev-erlang/riak_pb-2.1.0.7
+ >=dev-lang/erlang-17.1"
+DEPEND="${CDEPEND}
+ dev-util/rebar"
+RDEPEND="${CDEPEND}"
+
+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 [relevance 99%]
Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2016-05-01 11:18 99% [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/riakc/ 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