blob: a49f7fd1149da06291d11e2d0993b1aabe735a88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.13 2015/04/06 04:33:45 rodent Exp $
#
DISTNAME= polarssl-1.3.9-gpl
PKGNAME= ${DISTNAME:-gpl=}
PKGREVISION= 1
CATEGORIES= security devel
MASTER_SITES= https://tls.mbed.org/download/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://tls.mbed.org/
COMMENT= Lightweight, modular cryptographic and SSL/TLS library
LICENSE= gnu-gpl-v2
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+= gmake perl pkg-config
USE_CMAKE= yes
REPLACE_PERL= tests/scripts/*.pl
USE_LANGUAGES= c
TEST_TARGET= check
GCC_REQD+= 4.4
.include "options.mk"
CMAKE_ARGS+= -DUSE_SHARED_POLARSSL_LIBRARY=ON
MAKE_ENV+= RANLIB=${RANLIB:Q}
LDFLAGS.SunOS+= -lsocket
post-install:
${CHMOD} -x ${DESTDIR}${PREFIX}/lib/libpolarssl.a
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|