summaryrefslogtreecommitdiffstats
path: root/trinity-base/tdebase-pam/tdebase-pam-7.ebuild
blob: 6a4d676c67edff88f0afdf1566b5d754da5032b3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

inherit pam

DESCRIPTION="pam.d files used by several Trinity components"
HOMEPAGE="https://trinitydesktop.org/"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ~ia64 ~mips ppc ppc64 sparc x86"
IUSE="elogind"

DEPEND="sys-libs/pam"
RDEPEND="${DEPEND}"

src_install() {
	if use elogind ; then
		newpamd "${FILESDIR}/tde-elogind.pam-${PV}" tde
	else
		newpamd "${FILESDIR}/tde.pam-${PV}" tde
	fi
	newpamd "${FILESDIR}/tde-np.pam-6" tde-np
}