blob: 9293f3ae8e9f273b87bfca3a681f005eb1365a69 (
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
36
37
|
# $NetBSD: Makefile,v 1.35 2006/03/04 21:30:38 jlam Exp $
#
DISTNAME= rsaref
PKGNAME= rsaref-2.0p3
PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= http://www.spinnaker.com/crypt/rsaref/
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Encryption/authentication library, RSA/MDX/DES
WRKSRC= ${WRKDIR}/install
CRYPTO= yes
LICENSE= rsaref-license
PKG_INSTALLATION_TYPES= overwrite pkgviews
USE_LIBTOOL= yes
MAKEFILE= unix/makefile
BUILD_TARGET= librsaref.la
do-configure:
@${RM} -f ${WRKDIR}/source/rsaref && ${LN} -sf . ${WRKDIR}/source/rsaref
do-install:
${INSTALL_DATA_DIR} ${PREFIX}/lib
${INSTALL_DATA_DIR} ${PREFIX}/include/rsaref
cd ${WRKSRC} && ${LIBTOOL} ${INSTALL_DATA} librsaref.la ${PREFIX}/lib
.for file in des.h global.h md2.h md5.h rsa.h rsaref.h
${INSTALL_DATA} ${WRKDIR}/source/${file} ${PREFIX}/include/rsaref/
.endfor
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/rsaref
cd ${WRKDIR}/doc && ${INSTALL_DATA} info.txt rsaref.txt ${PREFIX}/share/doc/rsaref/
.include "../../mk/bsd.pkg.mk"
|