diff options
Diffstat (limited to 'community/tpm2-tss/APKBUILD')
-rw-r--r-- | community/tpm2-tss/APKBUILD | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/community/tpm2-tss/APKBUILD b/community/tpm2-tss/APKBUILD index f11fee4fa8..b32ff279a4 100644 --- a/community/tpm2-tss/APKBUILD +++ b/community/tpm2-tss/APKBUILD | |||
@@ -3,7 +3,7 @@ | |||
3 | # Maintainer: Alexander Sack <asac@pantacor.com> | 3 | # Maintainer: Alexander Sack <asac@pantacor.com> |
4 | pkgname=tpm2-tss | 4 | pkgname=tpm2-tss |
5 | pkgver=2.4.1 | 5 | pkgver=2.4.1 |
6 | pkgrel=0 | 6 | pkgrel=1 |
7 | pkgdesc="TPM 2.0 TSS" | 7 | pkgdesc="TPM 2.0 TSS" |
8 | url="https://github.com/tpm2-software/tpm2-tss/" | 8 | url="https://github.com/tpm2-software/tpm2-tss/" |
9 | arch="all" | 9 | arch="all" |
@@ -55,6 +55,21 @@ package() { | |||
55 | rm -rf "$pkgdir"/etc/sysusers.d | 55 | rm -rf "$pkgdir"/etc/sysusers.d |
56 | } | 56 | } |
57 | 57 | ||
58 | dev() { | ||
59 | depends_dev=" | ||
60 | $pkgname-tcti-device=$pkgver-r$pkgrel | ||
61 | $pkgname-tcti-mssim=$pkgver-r$pkgrel | ||
62 | " | ||
63 | |||
64 | default_dev | ||
65 | |||
66 | # Unfortunately these libraries need their solink to be in the subpackage | ||
67 | # and not in the -dev package, so add the dependency to depends_dev and | ||
68 | # move the library back | ||
69 | mv "$subpkgdir"/usr/lib/libtss2-tcti-device.so "$pkgdir"/usr/lib | ||
70 | mv "$subpkgdir"/usr/lib/libtss2-tcti-mssim.so "$pkgdir"/usr/lib | ||
71 | } | ||
72 | |||
58 | mu() { | 73 | mu() { |
59 | pkgdesc="TPM 2.0 Marshaling libraries" | 74 | pkgdesc="TPM 2.0 Marshaling libraries" |
60 | mkdir -p "$subpkgdir"/usr/lib | 75 | mkdir -p "$subpkgdir"/usr/lib |