equal
deleted
inserted
replaced
|
1 # Copyright 1999-2017 Gentoo Foundation |
|
2 # Distributed under the terms of the GNU General Public License v2 |
|
3 |
|
4 EAPI=6 |
|
5 |
|
6 CMAKE_MIN_VERSION=3.5 |
|
7 EGIT_REPO_URI="https://github.com/neithernut/pam_e4crypt.git" |
|
8 |
|
9 [[ ${PV} == 9999 ]] && SCM="git-r3" || SCM="" |
|
10 |
|
11 inherit ${SCM} cmake-multilib pam |
|
12 |
|
13 DESCRIPTION="A PAM module for unlocking transparently encrypted directories on ext4" |
|
14 |
|
15 HOMEPAGE="https://github.com/neithernut/pam_e4crypt" |
|
16 |
|
17 LICENSE="GPL-2" |
|
18 SLOT="0" |
|
19 KEYWORDS="~amd64" |
|
20 |
|
21 IUSE="libressl" |
|
22 |
|
23 COMMON_DEPEND="virtual/pam |
|
24 sys-apps/keyutils |
|
25 sys-apps/util-linux |
|
26 libressl? ( dev-libs/libressl:0= ) |
|
27 !libressl? ( dev-libs/openssl:0= )" |
|
28 |
|
29 DEPEND="${COMMON_DEPEND}" |
|
30 RDEPEND="${COMMON_DEPEND}" |
|
31 |
|
32 multilib_src_install() { |
|
33 pushd "${BUILD_DIR}" > /dev/null || die |
|
34 dopammod pam_e4crypt.so |
|
35 popd > /dev/null || die |
|
36 |
|
37 pushd "${S}" > /dev/null || die |
|
38 einstalldocs |
|
39 popd > /dev/null || die |
|
40 } |