libsecp256k1

This commit is contained in:
milisbir 2018-03-11 05:42:21 +02:00
parent fbcc5a7cb5
commit a9d9b7cae4
1 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,36 @@
# Tanım: Optimized C library for EC operations on curve secp256k1
# URL: https://github.com/bitcoin-core/secp256k1
# Paketçi: milisarge
# Gerekler:
# Grup: kütüphane
isim=libsecp256k1
surum=git
devir=1
kaynak=(https://github.com/bitcoin-core/secp256k1/archive/master.tar.gz::$isim-git-$devir.tar.gz)
derle() {
cd "secp256k1-master"
./autogen.sh
./configure \
--prefix=/usr \
--sbindir=/usr/bin \
--libexecdir=/usr/bin \
--sysconfdir=/etc \
--sharedstatedir=/usr/share/libsecp256k1 \
--localstatedir=/var/lib/libsecp256k1 \
--disable-static \
--disable-benchmark \
--disable-coverage \
--enable-module-recovery \
--disable-jni \
--enable-tests \
--enable-exhaustive-tests \
--disable-openssl-tests \
--with-gnu-ld
make
make check
install -Dm 644 COPYING -t "$PKG/usr/share/licenses/libsecp256k1"
install -Dm 644 README.md -t "$PKG/usr/share/doc/libsecp256k1"
make DESTDIR="$PKG" install
}