summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-erlang/epam')
-rw-r--r--dev-erlang/epam/Manifest1
-rw-r--r--dev-erlang/epam/epam-1.0.4.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-erlang/epam/Manifest b/dev-erlang/epam/Manifest
index 6ea84e414cf1..3772c0cdc71d 100644
--- a/dev-erlang/epam/Manifest
+++ b/dev-erlang/epam/Manifest
@@ -1,2 +1,3 @@
DIST epam-1.0.0.tar.gz 44008 BLAKE2B 5dcb21b17bd3e4a2dca5ab4776aa609cce784f0df1f6192acaa35024a342d72f6233c03997218113bc54d18e9ef3473dc420f93a6f00fb2c2c8079c4ce6dc353 SHA512 c0b1fbdc1e910f24b2f39ea34cf6fd5859f3ab0cf762a16cf9ef71b1e49129c8238001151dd9031046049967f31fd2cb3d0c06a7d8bdd46e49f19862c143f374
DIST epam-1.0.2.tar.gz 43720 BLAKE2B 39a1056d068bdceb7ff640a498b0766aa59649228b03e03f9385bfc106f45aa210315162d4386907a1e9cbc8f177289adebf72f527a4eaf270cd62413f1daa13 SHA512 a3fdb379d8c25e56e51dcf1e683d289e9f3d19a537b1a55ca4c09185eb5731fe073a5bf0dd1449f09f8ee5b7d868b0e63f04473c1f3d1b97722dcd9832e4e030
+DIST epam-1.0.4.tar.gz 43816 BLAKE2B a8070e45be428e1cd55dbe369051f2c5566d6d8d41af5d4258ec8dc86b70d7e55f316df10d0a65687d0ad8c5de2bd493859fd0c839ad57c90bb0eb1e4ea9db96 SHA512 46cbdfa683f48f24c4709837cba49745c3b7f87b6c1223b01ced65d547a8ec1a0467997070daf40bedeeb8298d7bb31eb33b331098b406964642f059b77fd313
diff --git a/dev-erlang/epam/epam-1.0.4.ebuild b/dev-erlang/epam/epam-1.0.4.ebuild
new file mode 100644
index 000000000000..faddaeab02f0
--- /dev/null
+++ b/dev-erlang/epam/epam-1.0.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit rebar user
+
+DESCRIPTION="epam for ejabberd to help with PAM authentication support"
+HOMEPAGE="https://github.com/processone/epam"
+SRC_URI="https://github.com/processone/${PN}/archive/${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+
+DEPEND=">=dev-lang/erlang-17.1
+ sys-libs/pam"
+RDEPEND="${DEPEND}"
+
+DOCS=( README.md )
+
+pkg_setup() {
+ enewgroup "${PN}"
+}
+
+src_install() {
+ rebar_src_install
+
+ local epam_path="$(get_erl_libs)/${P}/priv/bin/epam"
+ fowners root:"${PN}" "${epam_path}"
+ fperms 4750 "${epam_path}"
+}