summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2022-05-04 18:05:59 -0700
committerSam James <sam@gentoo.org>2022-05-07 06:50:25 +0100
commit41d3af34d6ac0b76a8469ba1f657c7299563ddb7 (patch)
tree154599345bac087013e70650078e4480056f5bb1 /app-admin/tpm/tpm-1.3.3.ebuild
parentdev-python/pylint: stable 2.13.5 for hppa, bug #841194 (diff)
downloadgentoo-41d3af34d6ac0b76a8469ba1f657c7299563ddb7.tar.gz
gentoo-41d3af34d6ac0b76a8469ba1f657c7299563ddb7.tar.bz2
gentoo-41d3af34d6ac0b76a8469ba1f657c7299563ddb7.zip
app-admin/tpm: Added
Signed-off-by: orbea <orbea@riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25334 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin/tpm/tpm-1.3.3.ebuild')
-rw-r--r--app-admin/tpm/tpm-1.3.3.ebuild24
1 files changed, 24 insertions, 0 deletions
diff --git a/app-admin/tpm/tpm-1.3.3.ebuild b/app-admin/tpm/tpm-1.3.3.ebuild
new file mode 100644
index 000000000000..dd2b55edef2e
--- /dev/null
+++ b/app-admin/tpm/tpm-1.3.3.ebuild
@@ -0,0 +1,24 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="Tiny password manager"
+HOMEPAGE="https://github.com/nmeum/tpm"
+if [[ "${PV}" == *9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/nmeum/${PN}.git"
+else
+ SRC_URI="https://github.com/nmeum/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+
+RDEPEND="app-crypt/gnupg"
+BDEPEND="dev-lang/perl"
+
+src_install() {
+ emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr"
+}