diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2020-09-16 09:32:48 +0100 |
commit | 9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch) | |
tree | b690ddc0ca30f1472887edbb0b8313629bfcbbb2 /app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild | |
parent | b17a3ef12038de50228bade1f05502c74e135321 (diff) |
gentoo resync : 16.09.2020
Diffstat (limited to 'app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild')
-rw-r--r-- | app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild new file mode 100644 index 000000000000..53562b771fdc --- /dev/null +++ b/app-crypt/tpm2-abrmd/tpm2-abrmd-2.3.3.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools systemd + +DESCRIPTION="TPM2 Access Broker & Resource Manager" +HOMEPAGE="https://github.com/tpm2-software/tpm2-abrmd" +SRC_URI="https://github.com/tpm2-software/${PN}/releases/download/${PV}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static-libs test" + +RESTRICT="!test? ( test )" + +RDEPEND="acct-group/tss + acct-user/tss + sys-apps/dbus:= + dev-libs/glib:= + app-crypt/tpm2-tss:=" +DEPEND="${RDEPEND} + test? ( dev-util/cmocka )" +BDEPEND="virtual/pkgconfig + dev-util/gdbus-codegen" + +src_prepare() { + default + eautoreconf +} + +src_configure() { + econf \ + $(use_enable static-libs static) \ + $(use_enable test unit) \ + --disable-defaultflags \ + --with-dbuspolicydir="${EPREFIX}/etc/dbus-1/system.d" \ + --with-systemdpresetdir="$(systemd_get_systemunitdir)/../system-preset" \ + --with-systemdpresetdisable \ + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" +} + +src_install() { + default + find "${D}" -name '*.la' -delete || die + + newinitd "${FILESDIR}"/${PN}.initd ${PN} + newconfd "${FILESDIR}"/${PN}.confd ${PN} +} |