summaryrefslogtreecommitdiff
path: root/math/ltm/Makefile
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2004-07-30 13:49:40 +0000
committerwiz <wiz@pkgsrc.org>2004-07-30 13:49:40 +0000
commit286ee87c2c9a28ce9bb67c9476db9e8ed893507c (patch)
treeb468697e701c0387e344679ae45970e3b82f024c /math/ltm/Makefile
parent4abc6a8dc3c2655e2b10112298f584dbe8ebc73d (diff)
downloadpkgsrc-286ee87c2c9a28ce9bb67c9476db9e8ed893507c.tar.gz
Initial import of ltm-0.30:
LibTomMath provides highly optimized and portable routines for a vast majority of integer based number theoretic applications (including public key cryptography). LibTomMath is not a cryptographic toolkit itself but it can be used to write one [Used in LibTomCrypt for RSA, DH and ECC public key routines].
Diffstat (limited to 'math/ltm/Makefile')
-rw-r--r--math/ltm/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/math/ltm/Makefile b/math/ltm/Makefile
new file mode 100644
index 00000000000..5ecaf265a99
--- /dev/null
+++ b/math/ltm/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $
+#
+
+DISTNAME= ltm-0.30
+CATEGORIES= math
+MASTER_SITES= http://math.libtomcrypt.org/files/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= wiz@NetBSD.org
+HOMEPAGE= http://math.libtomcrypt.org/
+COMMENT= Number theoretic multiple-precision integer library
+
+WRKSRC= ${WRKDIR}/libtommath-0.30
+USE_BUILDLINK3= yes
+MAKEFILE= makefile
+ALL_TARGET= default
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/tommath.h ${PREFIX}/include
+ ${INSTALL_LIB} ${WRKSRC}/libtommath.a ${PREFIX}/lib
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ltm
+ ${INSTALL_DATA} ${WRKSRC}/bn.pdf ${PREFIX}/share/doc/ltm
+ ${INSTALL_DATA} ${WRKSRC}/poster.pdf ${PREFIX}/share/doc/ltm
+ ${INSTALL_DATA} ${WRKSRC}/tommath.pdf ${PREFIX}/share/doc/ltm
+
+.include "../../mk/bsd.pkg.mk"