dev-erlang/goldrush: Add new package
authorAmadeusz Żołnowski <aidecoe@gentoo.org>
Mon, 6 Jun 2016 22:15:07 +0000 (23:15 +0100)
committerAmadeusz Żołnowski <aidecoe@gentoo.org>
Tue, 7 Jun 2016 22:20:17 +0000 (23:20 +0100)
It is debundled from net-im/ejabberd-16.04 and therefore inherits
keywords from ejabberd: ~amd64, ~arm, ~ppc and ~x86. ~ia64 and ~sparc
are not inherited because other dependency is missing these keywords and
there's no chance it can get them any time soon.

Package-Manager: portage-2.3.0_rc1

dev-erlang/goldrush/Manifest [new file with mode: 0644]
dev-erlang/goldrush/goldrush-0.1.8.1.ebuild [new file with mode: 0644]
dev-erlang/goldrush/metadata.xml [new file with mode: 0644]

diff --git a/dev-erlang/goldrush/Manifest b/dev-erlang/goldrush/Manifest
new file mode 100644 (file)
index 0000000..8f68583
--- /dev/null
@@ -0,0 +1 @@
+DIST goldrush-0.1.8.1.tar.gz 22050 SHA256 75bd74818a6f3c0162696de4803c6b48266a987bbf94fa6857680495d6b4870a SHA512 291b340ad67e09e1bb92d97844fee9d0cc87abe19fb9a9bdae382c407bfd41c0269562fce5716133e8db8e4f1340dbb9bda24b57130ba89b3713d85ba6c4a007 WHIRLPOOL 118474f6aa7c8d944ef38fade8ea5227b6716bb1280fe3b141b2533a679ccd4ee541d54690e84845694f9104310f7550ded6030e5b7ba19a1740243512e1534c
diff --git a/dev-erlang/goldrush/goldrush-0.1.8.1.ebuild b/dev-erlang/goldrush/goldrush-0.1.8.1.ebuild
new file mode 100644 (file)
index 0000000..c6eaaac
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit rebar
+
+MY_PV="${PV%.*}-${PV##*.}"
+MY_P="${PN}-${MY_PV}"
+
+DESCRIPTION="Small Erlang app that provides fast event stream processing"
+HOMEPAGE="https://github.com/DeadZen/goldrush"
+SRC_URI="https://github.com/DeadZen/${PN}/archive/${MY_PV}.tar.gz
+       -> ${P}.tar.gz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~ppc ~x86"
+
+DEPEND=">=dev-lang/erlang-17.1"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.org )
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+       rebar_src_prepare
+       # 'priv' directory contains only edoc.css, but doc isn't going to be built.
+       rm -r "${S}/priv"
+}
diff --git a/dev-erlang/goldrush/metadata.xml b/dev-erlang/goldrush/metadata.xml
new file mode 100644 (file)
index 0000000..674f5ad
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <maintainer type="person">
+               <email>aidecoe@gentoo.org</email>
+               <name>Amadeusz Żołnowski</name>
+       </maintainer>
+</pkgmetadata>