pkgsrc/security/nacl/Makefile
schmonz 60347b6f73 Initial import of NaCl.
NaCl (pronounced "salt") is a new easy-to-use high-speed software
library for network communication, encryption, decryption, signatures,
etc. NaCl's goal is to provide all of the core operations needed
to build higher-level cryptographic tools.

Of course, other libraries already exist for these core operations.
NaCl advances the state of the art by improving security, by improving
usability, and by improving speed.
2014-08-12 05:00:34 +00:00

29 lines
810 B
Makefile

# $NetBSD: Makefile,v 1.1 2014/08/12 05:00:34 schmonz Exp $
DISTNAME= nacl-20110221
CATEGORIES= security
MASTER_SITES= ${HOMEPAGE}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://hyperelliptic.org/nacl/
COMMENT= Secure, usable, fast networking and cryptography library
LICENSE= djb-nonlicense
USE_LANGUAGES= c c++
INSTALLATION_DIRS= bin lib include
do-build:
cd ${WRKSRC} && \
./do && \
${AR} -r build/*/lib/*/libnacl.a build/*/lib/*/randombytes.o
do-install:
cd ${WRKSRC}/build/* && \
${INSTALL_PROGRAM} bin/nacl-sha256 ${DESTDIR}${PREFIX}/bin && \
${INSTALL_PROGRAM} bin/nacl-sha512 ${DESTDIR}${PREFIX}/bin && \
${INSTALL_LIB} lib/*/* ${DESTDIR}${PREFIX}/lib && \
${INSTALL_DATA} include/*/* ${DESTDIR}${PREFIX}/include
.include "../../mk/bsd.pkg.mk"