pkgsrc/security/TweetNaCl/Makefile
rillig 9637f7852e all: migrate homepages from http to https
pkglint -r --network --only "migrate"

As a side-effect of migrating the homepages, pkglint also fixed a few
indentations in unrelated lines. These and the new homepages have been
checked manually.
2020-01-26 17:30:40 +00:00

28 lines
924 B
Makefile

# $NetBSD: Makefile,v 1.3 2020/01/26 17:32:02 rillig Exp $
DISTNAME= TweetNaCl-${VERSION}
VERSION= 20140427
CATEGORIES= security
MASTER_SITES= http://tweetnacl.cr.yp.to/${VERSION}/
DISTFILES= tweetnacl.c tweetnacl.h
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://tweetnacl.cr.yp.to/
COMMENT= World's first auditable high-security cryptographic library
LICENSE= public-domain
DIST_SUBDIR= ${DISTNAME}
USE_LIBTOOL= yes
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= include lib
do-build:
cd ${WRKSRC} && libtool --mode=compile --tag=C ${CC} ${CFLAGS} ${CPPFLAGS} -c -o tweetnacl.lo tweetnacl.c
cd ${WRKSRC} && libtool --mode=link --tag=C ${CC} ${LDFLAGS} -rpath ${PREFIX}/lib -o libtweetnacl.la tweetnacl.lo
do-install:
cd ${WRKSRC} && ${INSTALL_DATA} tweetnacl.h ${DESTDIR}${PREFIX}/include
cd ${WRKSRC} && libtool --mode=install ${INSTALL_LIB} libtweetnacl.la ${DESTDIR}${PREFIX}/lib
.include "../../mk/bsd.pkg.mk"