New package: libbitcoin-secp256k1-0.1.0.13

This commit is contained in:
Andy Weidenbaum 2019-03-26 15:31:40 +13:00 committed by maxice8
parent e2588670dd
commit b959dcb807
3 changed files with 38 additions and 0 deletions

View File

@ -3430,3 +3430,4 @@ 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.0 libbitcoin-secp256k1-0.1.0.13_1

View File

@ -0,0 +1 @@
libbitcoin-secp256k1

View File

@ -0,0 +1,36 @@
# Template file for 'libbitcoin-secp256k1'
pkgname=libbitcoin-secp256k1
version=0.1.0.13
revision=1
wrksrc="${pkgname#libbitcoin-}-${version}"
build_style=gnu-configure
configure_args="--disable-benchmark --disable-coverage --disable-jni
--disable-openssl-tests --enable-exhaustive-tests --enable-module-recovery
--enable-tests --with-gnu-ld"
hostmakedepends="autoconf automake libtool m4 pkg-config"
short_desc="Optimized C library for EC operations on curve secp256k1"
maintainer="Andy Weidenbaum <archbaum@gmail.com>"
license="MIT"
homepage="https://github.com/libbitcoin/secp256k1"
distfiles="https://github.com/libbitcoin/secp256k1/archive/v${version}.tar.gz>${pkgname}-${version}.tar.gz"
checksum=9e48dbc88d0fb5646d40ea12df9375c577f0e77525e49833fb744d3c2a69e727
pre_configure() {
./autogen.sh
}
post_install() {
vlicense COPYING
vdoc README.md
}
libbitcoin-secp256k1-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
}
}