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

dev-erlang/oauth2: Add new package

Package-Manager: portage-2.2.28

 dev-erlang/oauth2/Manifest            |  1 +
 dev-erlang/oauth2/metadata.xml        |  8 ++++++++
 dev-erlang/oauth2/oauth2-0.6.1.ebuild | 37 +++++++++++++++++++++++++++++++++++
 3 files changed, 46 insertions(+)

diff --git a/dev-erlang/oauth2/Manifest b/dev-erlang/oauth2/Manifest
new file mode 100644
index 0000000..bbade83
--- /dev/null
+++ b/dev-erlang/oauth2/Manifest
@@ -0,0 +1 @@
+DIST oauth2-0.6.1.tar.gz 212232 SHA256 42f16acedfc25f0731b7b99b3bebcd67017075979ea0c3b3182b39b5a48f8e9b SHA512 98d9811674acdffb0b4ae9e6e582c510deed1c4bf50f5ee434294669fb09cfbef1d58ea6e2020f962a7516aceb8e6052f5d4c64b5bee9e7c2495359f3d24daaf WHIRLPOOL bd9478072762ffdf01e6b23cc30984cbf6f190278d7775b6884f2af0d2b8ed5cfb8bf99910e79e6b40cf3003f1d55704e166146364e5d671f1783483c6fe8452

diff --git a/dev-erlang/oauth2/metadata.xml b/dev-erlang/oauth2/metadata.xml
new file mode 100644
index 0000000..92f4567
--- /dev/null
+++ b/dev-erlang/oauth2/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/oauth2/oauth2-0.6.1.ebuild b/dev-erlang/oauth2/oauth2-0.6.1.ebuild
new file mode 100644
index 0000000..c95a345
--- /dev/null
+++ b/dev-erlang/oauth2/oauth2-0.6.1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit multilib
+
+DESCRIPTION="Erlang Oauth2 implementation"
+HOMEPAGE="https://github.com/kivra/oauth2"
+SRC_URI="https://github.com/kivra/${PN}/archive/${PV}.tar.gz
+	-> ${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.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'
+}
+
+src_install() {
+	insinto "$(get_erl_libs)/${P}"
+	doins -r ebin 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/oauth2/ 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