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

commit:     e45d4e2aff8d74263a73d092d237fa9fa31ad53a
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 21:45:48 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 21:48:40 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e45d4e2a

dev-erlang/hamcrest: Add new package

Package-Manager: portage-2.2.28

 dev-erlang/hamcrest/Manifest                       |  1 +
 .../hamcrest/hamcrest-0.1.0_p20150103.ebuild       | 44 ++++++++++++++++++++++
 dev-erlang/hamcrest/metadata.xml                   |  8 ++++
 3 files changed, 53 insertions(+)

diff --git a/dev-erlang/hamcrest/Manifest b/dev-erlang/hamcrest/Manifest
new file mode 100644
index 0000000..6c1d4a4
--- /dev/null
+++ b/dev-erlang/hamcrest/Manifest
@@ -0,0 +1 @@
+DIST hamcrest-0.1.0_p20150103.tar.gz 160516 SHA256 4d218370ab4f557636dc4867f5996637e1cfdbc6e5b6d0703591c9be1b8a0860 SHA512 d7ed0db598f15e5a2724c31d35a2e34ca55ff37d715c1e8a4b35fd438567f1ae2c4d266dee7215690e8508f77f625a551b7ecbef06582a9ffddb9d14d895fab8 WHIRLPOOL 4a8af0847ed2586e8038a62c178afcf69e48ae258c5d430824e28315c2beefa7abf9a68bff03959c4793e2738a6aeec7318133c11784e217bb3d6464705a91bf

diff --git a/dev-erlang/hamcrest/hamcrest-0.1.0_p20150103.ebuild b/dev-erlang/hamcrest/hamcrest-0.1.0_p20150103.ebuild
new file mode 100644
index 0000000..d2fafa7
--- /dev/null
+++ b/dev-erlang/hamcrest/hamcrest-0.1.0_p20150103.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="Erlang port of Hamcrest"
+HOMEPAGE="https://github.com/hyperthunk/hamcrest-erlang"
+SRC_URI="https://dev.gentoo.org/~aidecoe/distfiles/${CATEGORY}/${PN}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+CDEPEND=">=dev-lang/erlang-17.1"
+DEPEND="${CDEPEND}
+	dev-util/rebar"
+RDEPEND="${CDEPEND}"
+
+DOCS=( README.markdown )
+
+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
+}
+
+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 priv src
+	dodoc "${DOCS[@]}"
+}

diff --git a/dev-erlang/hamcrest/metadata.xml b/dev-erlang/hamcrest/metadata.xml
new file mode 100644
index 0000000..92f4567
--- /dev/null
+++ b/dev-erlang/hamcrest/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>


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

only message in thread, other threads:[~2016-04-26 21:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-26 21:51 [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/hamcrest/ 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