New package: libsecp256k1-0.3.2

This commit is contained in:
Arjan Mossel 2023-05-01 17:55:47 +02:00 committed by lemmi
parent 67f0b3ba62
commit 22a367ef11
4 changed files with 44 additions and 0 deletions

View File

@ -3628,6 +3628,7 @@ libdwarves_emit.so.1 pahole-1.12_1
libdwarves_reorganize.so.1 pahole-1.12_1
libclthreads.so.2 clthreads-2.4.2_1
libclxclient.so.3 clxclient-3.9.2_1
libsecp256k1.so.2 libsecp256k1-0.3.2_1
libltc.so.11 libltc-1.3.1_1
libvpd-2.2.so.2 libvpd-2.2.6_1
libvpd_cxx-2.2.so.2 libvpd-2.2.6_1

View File

@ -0,0 +1 @@
libsecp256k1

1
srcpkgs/libsecp256k1-devel Symbolic link
View File

@ -0,0 +1 @@
libsecp256k1

View File

@ -0,0 +1,41 @@
# Template file for 'libsecp256k1'
pkgname=libsecp256k1
version=0.3.2
revision=1
build_style=gnu-configure
configure_args="--disable-benchmark --disable-coverage --enable-experimental
--enable-module-ecdh --enable-module-recovery --enable-tests
--enable-exhaustive-tests --with-gnu-ld"
hostmakedepends="autoconf automake libtool m4 pkg-config"
short_desc="Optimized C library for EC operations on curve secp256k1"
maintainer="Arjan Mossel <arjanmossel@gmail.com>"
license="MIT"
homepage="https://github.com/bitcoin-core/secp256k1"
distfiles="https://github.com/bitcoin-core/secp256k1/archive/v${version}.tar.gz"
checksum="ef2e1061951b8cf94a7597b4e60fd7810613e327e25305e8d73dfdff67d12190"
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libsecp256k1-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}
libbitcoin-secp256k1_package() {
depends="libsecp256k1"
short_desc+=" - transitional dummy package"
build_style=meta
}