56b8f30bd5
Monocypher is an easy to use crypto library. It is: - Small. Sloccount counts about 1700 lines of code, small enough to allow audits. The binaries are under 65KB. = Easy to deploy. Just add monocypher.c and monocypher.h to your project. They compile as C99 or C++, have no dependency, and are dedicated to the public domain. - Easy to use. The API is small, consistent, and cannot fail on correct input. - Fast. The primitives are fast to begin with, and performance wasn't needlessly sacrificed. Monocypher holds up pretty well against Libsodium, despite being closer in size to TweetNaCl.
20 lines
554 B
Makefile
20 lines
554 B
Makefile
# $NetBSD: Makefile,v 1.1 2019/03/16 09:17:09 maya Exp $
|
|
|
|
DISTNAME= monocypher-2.0.5
|
|
CATEGORIES= security
|
|
MASTER_SITES= https://monocypher.org/download/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= https://monocypher.org/
|
|
COMMENT= Easy to use, deploy and auditable crypto library
|
|
LICENSE= cc0-1.0-universal OR 2-clause-bsd
|
|
|
|
USE_TOOLS+= gmake
|
|
MAKE_FILE= makefile
|
|
MAKE_ENV+= MAN_DIR=${DESTDIR}/${PKGMANDIR}
|
|
TEST_TARGET= test
|
|
|
|
# We default to binaries portable to more than one arch.
|
|
BUILDLINK_TRANSFORM+= rm:-march=native
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|