summaryrefslogtreecommitdiff
path: root/repo/libsecp256k1
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
committerdavidovski <david@davidovski.xyz>2022-06-27 23:09:07 +0100
commitf6332a43c35387c4a2dea1746be5fd092890ae0e (patch)
treed6599f63de04096f3fc21a98e0b3bb39d55a3531 /repo/libsecp256k1
parentf13e0cac13f90f7f57bce3b26b2e6383de6e4ad2 (diff)
added lf and iptables
Diffstat (limited to 'repo/libsecp256k1')
-rw-r--r--repo/libsecp256k1/libsecp256k1.xibuild28
1 files changed, 28 insertions, 0 deletions
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
+}