summaryrefslogtreecommitdiff
path: root/security/libstark/Makefile
blob: b0edbc0d5bb9a5c0963914adfecc1ebecea73100 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $NetBSD: Makefile,v 1.2 2022/09/24 08:17:16 nia Exp $

DISTNAME=	libstark-20191018
CATEGORIES=	security devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=elibensasson/}
GITHUB_PROJECT=	libSTARK
GITHUB_TAG=	11c72adf909e259aa20a36317e22108784f6dd73

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	https://github.com/elibensasson/
COMMENT=	Library for succinct non-interactive zero knowledge proofs
LICENSE=	mit

BUILD_TARGET=	default
TEST_TARGET=	tests

USE_TOOLS+=	gmake
USE_LANGUAGES=	c c++11

AUTO_MKDIRS=	yes

# supposedly requires sse4
ONLY_FOR_PLATFORM+=	*-*-x86_64

do-install:
	for f in stark-dpm stark-tinyram; do				\
		${INSTALL_PROGRAM} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/bin/; \
	done

.include "../../devel/googletest/buildlink3.mk"

.include "../../mk/bsd.pkg.mk"