| Name |
libb2 |
| Description |
C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp |
| Version |
0.98.1-r3 |
| Package Base |
libb2 |
| Homepage |
https://blake2.net/ |
| Maintainers |
['Bart Ribbers <bribbers@disroot.org>'] |
| Contributors |
['Leo <thinkabit.ukim@gmail.com>'] |
| Distro-repo |
https://gitlab.alpinelinux.org/alpine/aports/-/tree/3.22-stable/community/libb2 |
| Sources |
['https://github.com/BLAKE2/libb2/releases/download/v0.98.1-r3/libb2-0.98.1-r3.tar.gz'] |
| Dependencies |
['libc.musl-x86_64.so.1', 'libgomp.so.1'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
[] |
| Provides |
['so:libb2.so.1=1.0.4'] |
| Builddate |
27-03-2024 11:58:26 |
| Architecture |
x86_64 |
| Distro-Version |
v3.22 |
| Licenses |
['CC0-1.0'] |
| Hash |
Q1iIHm1h3dafGnygAlFsJX0IJy9XQ= |
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libb2
pkgver=0.98.1
pkgrel=3
pkgdesc="C library providing BLAKE2b, BLAKE2s, BLAKE2bp, BLAKE2sp"
url="https://blake2.net/"
arch="all"
license="CC0-1.0"
subpackages="$pkgname-dev"
source="https://github.com/BLAKE2/libb2/releases/download/v$pkgver/libb2-$pkgver.tar.gz"
prepare() {
default_prepare
update_config_sub
}
build() {
case "$CARCH" in
x86*)
_fat_runtime=yes
;;
*)
_fat_runtime=no
;;
esac
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--localstatedir=/var \
--disable-static \
--enable-fat=$_fat_runtime
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
e760972173bb9ff3562843882abbe9042af09da63f37a5706921381be2d64cc4d333aec65e1e676d5a45ace913417536a1dc188c90b394c2f7b9cae654dbb108 libb2-0.98.1.tar.gz
"