diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/ltm/DESCR | 5 | ||||
-rw-r--r-- | math/ltm/Makefile | 26 | ||||
-rw-r--r-- | math/ltm/PLIST | 7 | ||||
-rw-r--r-- | math/ltm/buildlink3.mk | 19 | ||||
-rw-r--r-- | math/ltm/distinfo | 4 |
5 files changed, 61 insertions, 0 deletions
diff --git a/math/ltm/DESCR b/math/ltm/DESCR new file mode 100644 index 00000000000..f31e8f00a24 --- /dev/null +++ b/math/ltm/DESCR @@ -0,0 +1,5 @@ +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]. 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" diff --git a/math/ltm/PLIST b/math/ltm/PLIST new file mode 100644 index 00000000000..5cbde2378ad --- /dev/null +++ b/math/ltm/PLIST @@ -0,0 +1,7 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $ +include/tommath.h +lib/libtommath.a +share/doc/ltm/bn.pdf +share/doc/ltm/poster.pdf +share/doc/ltm/tommath.pdf +@dirrm share/doc/ltm diff --git a/math/ltm/buildlink3.mk b/math/ltm/buildlink3.mk new file mode 100644 index 00000000000..98a411e6920 --- /dev/null +++ b/math/ltm/buildlink3.mk @@ -0,0 +1,19 @@ +# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LTM_BUILDLINK3_MK:= ${LTM_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= ltm +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nltm} +BUILDLINK_PACKAGES+= ltm + +.if !empty(LTM_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.ltm+= ltm>=0.30 +BUILDLINK_PKGSRCDIR.ltm?= ../../math/ltm +BUILDLINK_DEPMETHOD.ltm?= build +.endif # LTM_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} diff --git a/math/ltm/distinfo b/math/ltm/distinfo new file mode 100644 index 00000000000..d00a3657381 --- /dev/null +++ b/math/ltm/distinfo @@ -0,0 +1,4 @@ +$NetBSD: distinfo,v 1.1.1.1 2004/07/30 13:49:40 wiz Exp $ + +SHA1 (ltm-0.30.zip) = 6bb2a67d7a103db2f260f73b8b36acde15d22b10 +Size (ltm-0.30.zip) = 2076036 bytes |