milis/talimatname/genel/l/libsecp256k1/talimat

37 lines
987 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Tanım: ECp işlemleri için optimize edilmiş C kütüphanesi secp256k1 eğrisi
# 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
}