summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Bercot <ska-adelie@skarnet.org>2024-10-10 07:27:24 +0000
committerLaurent Bercot <ska-adelie@skarnet.org>2024-10-10 07:27:24 +0000
commit93313d3bb206ac0c14ebe90154856ea36db70450 (patch)
tree5d5c2c626ab5214f2a43bc7634150a05ca7c300c
parenta08e95480735c99a09a632f52d0c38b99b70d407 (diff)
downloadpackages-93313d3bb206ac0c14ebe90154856ea36db70450.tar.gz
packages-93313d3bb206ac0c14ebe90154856ea36db70450.tar.bz2
packages-93313d3bb206ac0c14ebe90154856ea36db70450.tar.xz
packages-93313d3bb206ac0c14ebe90154856ea36db70450.zip
user/bearssl: actually use and install bearssl.pc
-rw-r--r--user/bearssl/APKBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/user/bearssl/APKBUILD b/user/bearssl/APKBUILD
index aa6025380..0056de1f8 100644
--- a/user/bearssl/APKBUILD
+++ b/user/bearssl/APKBUILD
@@ -13,6 +13,7 @@ makedepends=""
subpackages="$pkgname-dev"
source="bearssl-$pkgver.tar.gz::https://bearssl.org/gitweb/?p=BearSSL;a=snapshot;h=$_pkgcommit;sf=tgz
bearssl-brssl-dynamic.patch
+ bearssl.pc
"
builddir="${srcdir}"/BearSSL-$(printf "%s" "${_pkgcommit}" | cut -c -7)
@@ -39,7 +40,9 @@ package() {
cp -f "$builddir/build/libbearssl.so.$pkgver" "$pkgdir/lib/"
ln -sf "libbearssl.so.$pkgver" "$pkgdir/lib/libbearssl.so.${pkgver%%.*}"
ln -sf "libbearssl.so.${pkgver%%.*}" "$pkgdir/lib/libbearssl.so"
+ install -D -m644 "$srcdir"/bearssl.pc "$pkgdir"/usr/lib/pkgconfig/bearssl.pc
}
sha512sums="1d6957515833c81ca3fa070bef1ddc82fab3ff03ca3e8a81aae3f8c09b01d1ed488eb8f54988f25c09cbfbc7a90a4cd1de13ba179f205580c9c73164a0ced2a8 bearssl-0.6_git20241009.tar.gz
-f5fe047862eb355a662ccb1b95c2ca4a870ac0f8d3f4cada5396d2f6a6635647db53fbeb038f9a7651b84d6cda32b6415ce0f69a8da92636d3b3b76578114d5c bearssl-brssl-dynamic.patch"
+f5fe047862eb355a662ccb1b95c2ca4a870ac0f8d3f4cada5396d2f6a6635647db53fbeb038f9a7651b84d6cda32b6415ce0f69a8da92636d3b3b76578114d5c bearssl-brssl-dynamic.patch
+9b4972cb47e59b3e090429d08734d90c77bc29868cdb3efe3de7b38de4b183880e71552319242f0cac9d7ffe8547b6238fa483a6be462598f5f53c394fe4371c bearssl.pc"