diff --git a/dev-erlang/epam/Manifest b/dev-erlang/epam/Manifest new file mode 100644 index 0000000..92f5c47 --- /dev/null +++ b/dev-erlang/epam/Manifest @@ -0,0 +1 @@ +DIST epam-1.0.5.tar.gz 47497 BLAKE2B ab21a98919ffc4a42fbdd6673c89a1771a0bdc34e60eb20228f5d48185db2a9317ced77fad05d35e039d49ea39b20bfa2ee079b544ebdba6961cde7ce71e1d87 SHA512 0073a949dfef7995dc0c25868f4c27b4cf8493b20c470f3734e1fbdf97334903dea7adfeae047981c86345a2b07929c399fd5b8f82530c248cc9a8d4c3f3eaaf diff --git a/dev-erlang/epam/epam-1.0.5.ebuild b/dev-erlang/epam/epam-1.0.5.ebuild new file mode 100644 index 0000000..d2904f9 --- /dev/null +++ b/dev-erlang/epam/epam-1.0.5.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2019 Gentoo Authors +# 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}" +}