9637f7852e
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.
28 lines
924 B
Makefile
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"
|