From f6332a43c35387c4a2dea1746be5fd092890ae0e Mon Sep 17 00:00:00 2001 From: davidovski Date: Mon, 27 Jun 2022 23:09:07 +0100 Subject: added lf and iptables --- repo/libsecp256k1/libsecp256k1.xibuild | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 repo/libsecp256k1/libsecp256k1.xibuild (limited to 'repo/libsecp256k1/libsecp256k1.xibuild') diff --git a/repo/libsecp256k1/libsecp256k1.xibuild b/repo/libsecp256k1/libsecp256k1.xibuild new file mode 100644 index 0000000..d9296bf --- /dev/null +++ b/repo/libsecp256k1/libsecp256k1.xibuild @@ -0,0 +1,28 @@ +#!/bin/sh + +NAME="libsecp256k1" +DESC="Optimized C library for EC operations on curve secp256k1" +MAKEDEPS=" autoconf automake libtool" + +SOURCE="https://github.com/bitcoin-core/secp256k1.git" + +prepare() { + ./autogen.sh +} + +build() { + ./configure \ + --prefix=/usr \ + --disable-static \ + --enable-module-ecdh \ + --enable-module-recovery + make +} + +check() { + make check +} + +package() { + make DESTDIR="$PKG_DEST" install +} -- cgit v1.2.1