libsecp256k1
This commit is contained in:
parent
fbcc5a7cb5
commit
a9d9b7cae4
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue