summaryrefslogtreecommitdiff
path: root/sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild')
-rw-r--r--sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild b/sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild
new file mode 100644
index 0000000..11827ce
--- /dev/null
+++ b/sys-auth/pam-gnupg/pam-gnupg-0.4.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Unlock GnuPG keys on login"
+HOMEPAGE="https://github.com/cruegge/pam-gnupg"
+SRC_URI="https://github.com/cruegge/pam-gnupg/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+RDEPEND="
+ sys-libs/pam
+ app-crypt/gnupg
+"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --host=${CHOST} \
+ --prefix=/usr \
+ --infodir=/usr/share/info \
+ --with-moduledir=/$(get_libdir)/security \
+ --mandir=/usr/share/man || die
+}
+