From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id C28DD13820A for ; Sun, 1 May 2016 11:18:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C6E3821C061; Sun, 1 May 2016 11:18:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5721A21C061 for ; Sun, 1 May 2016 11:18:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C56EF340B6A for ; Sun, 1 May 2016 11:18:05 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F2C2A332 for ; Sun, 1 May 2016 11:18:02 +0000 (UTC) From: "Amadeusz Piotr Żołnowski" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Amadeusz Piotr Żołnowski" Message-ID: <1461963460.5557433d3c68a654c78e6b7c54d451b115399acb.aidecoe@gentoo> Subject: [gentoo-commits] repo/gentoo:ejabberd-wip commit in: dev-erlang/oauth2/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-erlang/oauth2/Manifest dev-erlang/oauth2/metadata.xml dev-erlang/oauth2/oauth2-0.6.1.ebuild X-VCS-Directories: dev-erlang/oauth2/ X-VCS-Committer: aidecoe X-VCS-Committer-Name: Amadeusz Piotr Żołnowski X-VCS-Revision: 5557433d3c68a654c78e6b7c54d451b115399acb X-VCS-Branch: ejabberd-wip Date: Sun, 1 May 2016 11:18:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 11a2f027-e6b5-4bb8-868f-6ae8d53efedc X-Archives-Hash: 9d0e545c19c0218224d6511fe33d10b5 commit: 5557433d3c68a654c78e6b7c54d451b115399acb Author: Amadeusz Żołnowski gentoo org> AuthorDate: Fri Apr 29 20:56:47 2016 +0000 Commit: Amadeusz Piotr Żołnowski gentoo 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 @@ + + + + + aidecoe@gentoo.org + Amadeusz Żołnowski + + 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 +}