diff options
-rw-r--r-- | dev-erlang/epam/Manifest | 1 | ||||
-rw-r--r-- | dev-erlang/epam/epam-1.0.9.ebuild | 33 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-erlang/epam/Manifest b/dev-erlang/epam/Manifest index a4dd04810be1..e5e3b0447ac5 100644 --- a/dev-erlang/epam/Manifest +++ b/dev-erlang/epam/Manifest @@ -1 +1,2 @@ DIST epam-1.0.8.tar.gz 47334 BLAKE2B be914b0a5e4657e3ddb3e9bcb607448b14451e112c0b929159a962ca8bdc778e6d7d358fb4053b500e71fddc2fbd16ce6d5b543a5f592c9037d71b4ec09aacc7 SHA512 b09624b7d1650ae741bcfcdddceacf5bfd29bb3e00a4044498d6eaec328f8762423f71025fb89a8242c76934c56b8d60f1910fc390766382468f3d844723bef2 +DIST epam-1.0.9.tar.gz 47548 BLAKE2B b0a8c6e07d788160e153c75e6d8c6535f68279f1f404b25c0fe5ad1559251059a6efd38a9a30c5b180513f69fb22674ba772c29fa598bed5ddc6dcacd9f0f419 SHA512 f537dbfdba09b3f65775e2235e90e2e91951908d95cd10df05581c740d7254cce53a3a2f4131df75f5c6400b3b2cdf6b37651a554076e9cfa66fb3c627d8562c diff --git a/dev-erlang/epam/epam-1.0.9.ebuild b/dev-erlang/epam/epam-1.0.9.ebuild new file mode 100644 index 000000000000..bc3c599bafe4 --- /dev/null +++ b/dev-erlang/epam/epam-1.0.9.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 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="~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=">=dev-lang/erlang-17.1 + sys-libs/pam" +RDEPEND="${DEPEND}" + +DOCS=( CHANGELOG.md 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}" +} |