2014-10-09 16:05:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.15 2014/10/09 14:06:52 wiz Exp $
|
2004-02-22 02:40:04 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= tpm-1.1b
|
|
|
|
PKGNAME= ${DISTNAME:S/tpm/libtcpa/}
|
2014-02-13 00:18:26 +01:00
|
|
|
PKGREVISION= 6
|
2004-02-22 02:40:04 +01:00
|
|
|
CATEGORIES= security
|
2004-02-23 18:54:36 +01:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2004-02-22 02:40:04 +01:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} tcpa_man_20031210.tgz
|
|
|
|
|
|
|
|
MAINTAINER= schmonz@NetBSD.org
|
|
|
|
HOMEPAGE= http://www.research.ibm.com/gsal/tcpa/
|
|
|
|
COMMENT= TCPA libraries and test programs from IBM
|
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/TPM
|
|
|
|
|
2006-07-27 20:48:02 +02:00
|
|
|
SITES.tcpa_man_20031210.tgz= http://www.citi.umich.edu/u/rwash/projects/trusted/
|
2004-02-22 02:40:04 +01:00
|
|
|
|
2007-03-24 08:16:41 +01:00
|
|
|
BUILD_DIRS= libtcpa examples
|
2007-01-07 10:13:46 +01:00
|
|
|
INSTALLATION_DIRS= bin lib ${PKGMANDIR}/man3 share/doc/${PKGBASE}
|
2004-02-22 02:40:04 +01:00
|
|
|
|
|
|
|
do-install:
|
2010-01-27 17:52:13 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libtcpa/libtcpa.a ${DESTDIR}${PREFIX}/lib
|
2004-02-22 02:40:04 +01:00
|
|
|
for f in tcpa_demo takeown createkey loadkey evictkey signfile \
|
|
|
|
verifyfile sealfile unsealfile; do \
|
2010-01-27 17:52:13 +01:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/examples/$${f} ${DESTDIR}${PREFIX}/bin; \
|
2004-02-22 02:40:04 +01:00
|
|
|
done
|
|
|
|
for f in ${WRKDIR}/tcpa_man/*.3; do \
|
2010-01-27 17:52:13 +01:00
|
|
|
${INSTALL_MAN} $${f} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3; \
|
2004-02-22 02:40:04 +01:00
|
|
|
done
|
2010-01-27 17:52:13 +01:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/libtcpa/License ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/${PKGBASE}
|
2004-02-22 02:40:04 +01:00
|
|
|
|
|
|
|
.include "../../security/openssl/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|