-- pakchois is just another PKCS#11 wrapper library. pakchois aims to provide a thin wrapper over the PKCS#11 interface. The goals are: 1) to offer a modern* object-oriented C interface wrapper for PKCS#11. 2) to not hide or abstract away any details of the PKCS#11 interface itself except where absolutely necessary. 3) to handle the details of loading DSOs 4) to allow the caller to avoid caring about where on the system PKCS#11 modules might be stored, or exactly how they are named. 5) to avoid any dependency on a particular cryptography toolkit. Existing PKCS#11 wrapper libraries solutions differ in at least one of the above goals. *: "modern" being a euphemism for not using process-global state, having a sane symbol namespace, etc.
32 lines
835 B
Makefile
32 lines
835 B
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2008/10/30 03:32:19 bjs Exp $
|
|
#
|
|
|
|
DISTNAME= pakchois-0.4
|
|
CATEGORIES= security
|
|
MASTER_SITES= http://www.manyfish.co.uk/pakchois/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.manyfish.co.uk/pakchois/
|
|
COMMENT= PKCS#11 wrapper library
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= gmake pkg-config
|
|
|
|
CONFIGURE_ARGS+= --enable-dlopen
|
|
|
|
PKGCONFIG_OVERRIDE+= pakchois.pc.in
|
|
|
|
PTHREAD_OPTS+= require
|
|
PKG_PTHREAD_FLAGS= ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
|
|
|
|
BROKEN_GETTEXT_DETECTION= yes
|
|
BUILDLINK_TRANSFORM+= opt:-ldl:${BUILDLINK_LDADD.dl:M*}
|
|
BUILDLINK_TRANSFORM+= opt:-lpthread:${PKG_PTHREAD_FLAGS:M*}
|
|
|
|
.include "../../devel/gettext-lib/buildlink3.mk"
|
|
.include "../../mk/dlopen.buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|