pkgsrc/security/libsecp256k1/Makefile
wiz 92b4a6e496 *: remove pkg-config from tools where no buildlink3.mk file is included
Bulk build on NetBSD of these packages had the same result as before
(build succeeds, no PLIST change).
2022-07-25 11:12:18 +00:00

31 lines
876 B
Makefile

# $NetBSD: Makefile,v 1.2 2022/07/25 11:12:27 wiz Exp $
GITHUB_PROJECT= secp256k1
GITHUB_TAG= ac05f61fcf639a15b5101131561620303e4bd808
DISTNAME= libsecp256k1-0.1
CATEGORIES= security
MASTER_SITES= ${MASTER_SITE_GITHUB:=bitcoin-core/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/bitcoin-core/secp256k1/
COMMENT= Optimized C library for EC operations on curve secp256k1
LICENSE= mit
WRKSRC= ${WRKDIR}/secp256k1-${GITHUB_TAG}
GNU_CONFIGURE= yes
USE_TOOLS+= autoconf automake gmake
USE_LIBTOOL= yes
# Inspired by the configure flags ArchLinux uses
CONFIGURE_ARGS+= --disable-static
CONFIGURE_ARGS+= --disable-benchmark
CONFIGURE_ARGS+= --disable-coverage
CONFIGURE_ARGS+= --enable-module-ecdh
CONFIGURE_ARGS+= --enable-module-recovery
PKGCONFIG_OVERRIDE+= libsecp256k1.pc.in
pre-configure:
cd ${WRKSRC} && ./autogen.sh
.include "../../mk/bsd.pkg.mk"