pkgsrc/security/rsaref/Makefile

46 lines
1.2 KiB
Makefile
Raw Normal View History

2014-02-22 19:15:33 +01:00
# $NetBSD: Makefile,v 1.42 2014/02/22 18:15:33 wiedi Exp $
#
DISTNAME= rsaref
PKGNAME= rsaref-2.0p3
PKGREVISION= 1
1998-03-19 13:17:53 +01:00
CATEGORIES= security
MASTER_SITES= http://www.spinnaker.com/crypt/rsaref/
1998-03-19 13:17:53 +01:00
EXTRACT_SUFX= .tar.Z
MAINTAINER= pkgsrc-users@NetBSD.org
COMMENT= Encryption/authentication library, RSA/MDX/DES
2007-06-14 20:58:15 +02:00
LICENSE= rsaref-license
2007-06-14 20:58:15 +02:00
RESTRICTED= No generation of income.
NO_SRC_ON_CDROM= ${RESTRICTED}
NO_BIN_ON_CDROM= ${RESTRICTED}
WRKSRC= ${WRKDIR}/install
CRYPTO= yes
2004-01-06 00:34:03 +01:00
PKG_INSTALLATION_TYPES= overwrite pkgviews
2012-03-02 17:36:57 +01:00
USE_FEATURES+= cdefs
2000-06-21 03:17:52 +02:00
USE_LIBTOOL= yes
2006-09-09 04:41:53 +02:00
MAKE_FILE= unix/makefile
BUILD_TARGET= librsaref.la
2014-02-22 19:15:33 +01:00
CFLAGS.SunOS+= -Du_int16_t=uint16_t -Du_int32_t=uint32_t
INSTALLATION_DIRS= lib include/rsaref share/doc/rsaref
do-configure:
@${RM} -f ${WRKDIR}/source/rsaref && ${LN} -sf . ${WRKDIR}/source/rsaref
do-install:
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_DATA} \
librsaref.la ${DESTDIR}${PREFIX}/lib
.for file in des.h global.h md2.h md5.h rsa.h rsaref.h
${INSTALL_DATA} ${WRKDIR}/source/${file} ${DESTDIR}${PREFIX}/include/rsaref/
.endfor
cd ${WRKDIR}/doc && ${INSTALL_DATA} info.txt rsaref.txt \
${DESTDIR}${PREFIX}/share/doc/rsaref/
.include "../../mk/bsd.pkg.mk"