37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
# 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
|
|
}
|
|
}
|