diff --git a/math/ecm/Makefile b/math/ecm/Makefile new file mode 100644 index 00000000000..85ad61ecf19 --- /dev/null +++ b/math/ecm/Makefile @@ -0,0 +1,31 @@ +# $OpenBSD: Makefile,v 1.1.1.1 2006/10/14 18:52:12 pvalchev Exp $ + +COMMENT= "elliptic curve method (ECM) factorization library" + +DISTNAME= ecm-6.1.1 +CATEGORIES= math + +HOMEPAGE= http://gforge.inria.fr/projects/ecm/ + +MASTER_SITES= http://gforge.inria.fr/frs/download.php/912/ + +MAINTAINER= Peter Valchev + +# GPL/LGLP +PERMIT_PACKAGE_CDROM= Yes +PERMIT_PACKAGE_FTP= Yes +PERMIT_DISTFILES_CDROM= Yes +PERMIT_DISTFILES_FTP= Yes + +WANTLIB= c m + +LIB_DEPENDS= gmp.::devel/gmp + +CONFIGURE_STYLE=gnu +CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +post-install: + ${INSTALL_MAN} ${WRKSRC}/ecm.1 ${PREFIX}/man/man1 + +.include diff --git a/math/ecm/distinfo b/math/ecm/distinfo new file mode 100644 index 00000000000..d1b108641c7 --- /dev/null +++ b/math/ecm/distinfo @@ -0,0 +1,4 @@ +MD5 (ecm-6.1.1.tar.gz) = 15ac2f5e5d26f45acb39674134fe2239 +RMD160 (ecm-6.1.1.tar.gz) = 5c16da9e3570d8cf647191b184232fd3835d4a30 +SHA1 (ecm-6.1.1.tar.gz) = 8d4c13624c3a893455c7d38da083e9f880349448 +SIZE (ecm-6.1.1.tar.gz) = 387085 diff --git a/math/ecm/pkg/DESCR b/math/ecm/pkg/DESCR new file mode 100644 index 00000000000..ef63e1f8d18 --- /dev/null +++ b/math/ecm/pkg/DESCR @@ -0,0 +1,3 @@ +Integer factorization library and program using the Elliptic +Curve Method (ECM), the P-1 or P+1 methods (which the ECM +method can be viewed as a generalization of). diff --git a/math/ecm/pkg/PLIST b/math/ecm/pkg/PLIST new file mode 100644 index 00000000000..c1a2c2a7357 --- /dev/null +++ b/math/ecm/pkg/PLIST @@ -0,0 +1,5 @@ +@comment $OpenBSD: PLIST,v 1.1.1.1 2006/10/14 18:52:12 pvalchev Exp $ +bin/ecm +include/ecm.h +lib/libecm.a +@man man/man1/ecm.1