public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/meck/
@ 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:     63e9d9ff614df6bdd5745493c09c549ab1924c91
Author:     Amadeusz Żołnowski <aidecoe <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 29 20:41:43 2016 +0000
Commit:     Amadeusz Piotr Żołnowski <aidecoe <AT> gentoo <DOT> org>
CommitDate: Fri Apr 29 20:57:38 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63e9d9ff

dev-erlang/meck: Add new package

Package-Manager: portage-2.2.28

 dev-erlang/meck/Manifest          |  1 +
 dev-erlang/meck/meck-0.8.2.ebuild | 42 +++++++++++++++++++++++++++++++++++++++
 dev-erlang/meck/metadata.xml      |  8 ++++++++
 3 files changed, 51 insertions(+)

diff --git a/dev-erlang/meck/Manifest b/dev-erlang/meck/Manifest
new file mode 100644
index 0000000..01e7902
--- /dev/null
+++ b/dev-erlang/meck/Manifest
@@ -0,0 +1 @@
+DIST meck-0.8.2.tar.gz 208694 SHA256 dc1ad985b1c994c69b645f5cfd159bf9ba71d10a2984ce354500adb4ff0ae473 SHA512 f1d39d2db5208f9256da4522d10455dec2d9fa744a1b742c644f25c687242dadd885daa1076c35e40761de439e9b89f4e546305737e7b81bfade6fe3d3c4daed WHIRLPOOL 5bdd133d1a137e8e629d501eeb056d0f7e46355f87e61630eea1cbd53bc3fe3776de9efca2837f485d1bcb1353d5e568e73875c31c62e740379c5d11667093d1

diff --git a/dev-erlang/meck/meck-0.8.2.ebuild b/dev-erlang/meck/meck-0.8.2.ebuild
new file mode 100644
index 0000000..2f40d5e
--- /dev/null
+++ b/dev-erlang/meck/meck-0.8.2.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="Mocking library for Erlang"
+HOMEPAGE="https://github.com/eproxus/meck"
+SRC_URI="https://github.com/eproxus/${PN}/archive/${PV}.tar.gz
+	-> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+CDEPEND=">=dev-lang/erlang-17.1"
+DEPEND="${CDEPEND}
+	dev-util/rebar"
+RDEPEND="${CDEPEND}"
+
+DOCS=( CHANGELOG README.md )
+
+get_erl_libs() {
+	echo "/usr/$(get_libdir)/erlang/lib"
+}
+
+src_compile() {
+	export ERL_LIBS="${EPREFIX}$(get_erl_libs)"
+	rebar compile || die 'rebar compile failed'
+	if use doc; then
+		rebar doc || die 'rebar doc failed'
+	fi
+}
+
+src_install() {
+	insinto "$(get_erl_libs)/${P}"
+	doins -r ebin src
+	use doc && dohtml -r doc/*
+}

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