2020-11-25 22:48:54 +01:00
|
|
|
# $NetBSD: Makefile,v 1.3 2020/11/25 21:48:54 nia Exp $
|
2016-04-30 21:27:43 +02:00
|
|
|
|
2020-11-25 22:48:54 +01:00
|
|
|
DISTNAME= codecrypt-1.8
|
2016-04-30 21:27:43 +02:00
|
|
|
CATEGORIES= security
|
|
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=exaexa/}
|
2020-11-25 22:48:54 +01:00
|
|
|
GITHUB_TAG= v${PKGVERSION_NOREV}
|
2016-04-30 21:27:43 +02:00
|
|
|
|
|
|
|
MAINTAINER= agc@NetBSD.org
|
|
|
|
HOMEPAGE= https://github.com/exaexa/codecrypt
|
|
|
|
COMMENT= Post-quantum cryptographic software
|
|
|
|
LICENSE= gnu-lgpl-v3
|
|
|
|
|
2020-11-25 22:48:54 +01:00
|
|
|
USE_TOOLS+= autoconf automake autoreconf gmake pkg-config bash
|
2016-04-30 21:27:43 +02:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_LIBTOOL= yes
|
|
|
|
USE_LANGUAGES+= c c++
|
|
|
|
|
2016-09-19 15:12:39 +02:00
|
|
|
LDFLAGS.SunOS+= -lsocket -lnsl
|
|
|
|
|
2016-04-30 21:27:43 +02:00
|
|
|
CRYPTOPPFLAGS= CRYPTOPP_CFLAGS=-I${PREFIX}/include
|
|
|
|
CRYPTOPPFLAGS+= CRYPTOPP_LIBS='-L${PREFIX}/lib -Wl,-R${PREFIX}/lib -lcryptopp'
|
|
|
|
|
|
|
|
CONFIGURE_ENV+= ${CRYPTOPPFLAGS}
|
|
|
|
MAKE_ENV+= ${CRYPTOPPFLAGS}
|
|
|
|
|
|
|
|
pre-configure:
|
2020-11-25 22:48:54 +01:00
|
|
|
cd ${WRKSRC} && bash autogen.sh
|
2016-04-30 21:27:43 +02:00
|
|
|
|
|
|
|
.include "../../devel/gmp/buildlink3.mk"
|
|
|
|
.include "../../math/fftw/buildlink3.mk"
|
|
|
|
.include "../../security/crypto++/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|