diff options
Diffstat (limited to 'repo/libsecp256k1')
-rw-r--r-- | repo/libsecp256k1/libsecp256k1.xibuild | 28 |
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 +} |