summaryrefslogtreecommitdiff
path: root/security/libp11/Makefile
blob: 8d045903402ef7e55281657f172aa6dca24c5c7d (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
# $NetBSD: Makefile,v 1.10 2014/04/02 20:14:19 gdt Exp $
#

VERSION=		0.2.8
DISTNAME=		libp11-${VERSION}
CATEGORIES=		security
MASTER_SITES=		https://github.com/OpenSC/libp11/archive/

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		https://github.com/OpenSC/libp11/wiki
COMMENT=		Convenience library for easy PKCS\#11 implementation
LICENSE=		gnu-lgpl-v2.1

WRKSRC=			${WRKDIR}/libp11-libp11-${VERSION}

BUILDLINK_API_DEPENDS.openssl+=	openssl>=0.9.7

USE_TOOLS+=		autoconf automake gmake pkg-config
GNU_CONFIGURE=		yes
USE_LIBTOOL=		yes
USE_PKGLOCALEDIR=	yes
PKGCONFIG_OVERRIDE+=	${WRKSRC}/src/libp11.pc.in

pre-configure:
	cd ${WRKSRC} && ./bootstrap

.include "../../devel/libltdl/buildlink3.mk"
.include "../../security/openssl/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"