2018-08-08 14:18:27 +02:00
|
|
|
|
# Tanım: ECp işlemleri için optimize edilmiş C kütüphanesi secp256k1 eğrisi
|
2018-06-09 00:06:58 +02:00
|
|
|
|
# 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
|
|
|
|
|
}
|