Skip to content
Snippets Groups Projects
Commit d7508086 authored by Laurent Bercot's avatar Laurent Bercot :sleeping:
Browse files

main/bearssl: upgrade to latest commit


Optimize build, change .pc file name to match package name

Signed-off-by: default avatarLaurent Bercot <ska@appnovation.com>
parent 7454139f
No related branches found
No related tags found
1 merge request!73306Upgrade to latest versions of skaware and make it usrmerge-ready
# Contributor: Laurent Bercot <ska-devel@skarnet.org>
# Maintainer: Laurent Bercot <ska-devel@skarnet.org>
pkgname=bearssl
pkgver=0.6_git20230221
_pkgcommit=79c060eea3eea1257797f15ea1608a9a9923aa6f
pkgrel=1
pkgver=0.6_git20241009
_pkgcommit=3c040368f6791553610e362401db1efff4b4c5b8
pkgrel=0
pkgdesc="The BearSSL implementation of the SSL/TLS protocol"
url="https://bearssl.org/"
arch="all"
......@@ -12,13 +12,13 @@ subpackages="$pkgname-static $pkgname-dev $pkgname-libs"
source="
bearssl-$pkgver.tar.gz::https://bearssl.org/gitweb/?p=BearSSL;a=snapshot;h=$_pkgcommit;sf=tgz
bearssl-brssl-dynamic.patch
libbearssl.pc
bearssl.pc
"
builddir=$PWD/src/BearSSL-${_pkgcommit:0:7}
build() {
make \
make -j${JOBS} \
CC="${CC:-gcc}" \
CFLAGS="-W -Wall -fPIC $CFLAGS" \
LD="${CC:-gcc}" \
......@@ -36,7 +36,7 @@ package() {
cp -f "$builddir/build/libbearssl.so.$pkgver" "$pkgdir/usr/lib/"
ln -sf "libbearssl.so.$pkgver" "$pkgdir/usr/lib/libbearssl.so.${pkgver%%.*}"
ln -sf "libbearssl.so.${pkgver%%.*}" "$pkgdir/usr/lib/libbearssl.so"
install -D -m644 "$srcdir"/libbearssl.pc "$pkgdir"/usr/lib/pkgconfig/libbearssl.pc
install -D -m644 "$srcdir"/bearssl.pc "$pkgdir"/usr/lib/pkgconfig/bearssl.pc
}
check() {
......@@ -46,7 +46,7 @@ check() {
}
sha512sums="
bffe5171f3ef27d8f141a43f5b485dcb659b20f1fc65d68c8f6e04f26dd99aadfc39a5943f5d6952f032533e2a709da9083c634f3dcc387b5c2ad64c1785bf6b bearssl-0.6_git20230221.tar.gz
1d6957515833c81ca3fa070bef1ddc82fab3ff03ca3e8a81aae3f8c09b01d1ed488eb8f54988f25c09cbfbc7a90a4cd1de13ba179f205580c9c73164a0ced2a8 bearssl-0.6_git20241009.tar.gz
f5fe047862eb355a662ccb1b95c2ca4a870ac0f8d3f4cada5396d2f6a6635647db53fbeb038f9a7651b84d6cda32b6415ce0f69a8da92636d3b3b76578114d5c bearssl-brssl-dynamic.patch
d9cb508709909522a19142a2d8fc988fcb1f33796ace4e21908070925ec402c73fd0778a170a50d3d89bab1263e40a40401a9e593cb4f2a8e314fc52f9965696 libbearssl.pc
9b4972cb47e59b3e090429d08734d90c77bc29868cdb3efe3de7b38de4b183880e71552319242f0cac9d7ffe8547b6238fa483a6be462598f5f53c394fe4371c bearssl.pc
"
prefix=/usr
exec_prefix=${prefix}
includedir=${prefix}/include
libdir=${prefix}/lib
Name: libbearssl
Version: 0.6
Name: bearssl
Description: The BearSSL implementation of the SSL/TLS protocol
Cflags: -I${includedir}
Libs: -L${libdir} -lbearssl
URL: https://bearssl.org/
Version: 0.6
Libs: -lbearssl
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment