-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
contrib/tpm2-tools: new package (5.7)
- Loading branch information
Showing
2 changed files
with
44 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
diff --git a/Makefile.am b/Makefile.am | ||
index 79dfd19..54b424c 100644 | ||
--- a/Makefile.am | ||
+++ b/Makefile.am | ||
@@ -659,10 +659,3 @@ else | ||
endif | ||
|
||
check: prepare-check | ||
- | ||
-if !HAVE_PANDOC | ||
-# If pandoc is not enabled, we want to complain that you need pandoc for make dist, | ||
-# so hook the target and complain. | ||
- @(>&2 echo "You do not have pandoc, a requirement for the distribution of manpages") | ||
- @exit 1 | ||
-endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
pkgname = "tpm2-tools" | ||
pkgver = "5.7" | ||
pkgrel = 0 | ||
build_style = "gnu_configure" | ||
make_cmd = "gmake" | ||
hostmakedepends = [ | ||
"autoconf", | ||
"automake", | ||
"gmake", | ||
"libtool", | ||
"pkgconf", | ||
] | ||
makedepends = [ | ||
"libcurl-devel", | ||
"openssl-devel", | ||
"tpm2-tss-devel", | ||
] | ||
pkgdesc = "Trusted Platform Module (TPM2.0) tools" | ||
maintainer = "natthias <[email protected]>" | ||
license = "BSD-3-Clause" | ||
url = "https://github.com/tpm2-software/tpm2-tools" | ||
source = f"{url}/releases/download/{pkgver}/tpm2-tools-{pkgver}.tar.gz" | ||
sha256 = "3810d36b5079256f4f2f7ce552e22213d43b1031c131538df8a2dbc3c570983a" | ||
# symlinks tpm2 to tpm2_completion.bash | ||
options = ["!lto", "!lintcomp"] | ||
|
||
|
||
def post_install(self): | ||
self.install_license("docs/LICENSE") |