Edit

IABSD.fr/ports/math/ecm/Makefile

Branch :

  • Show log

    Commit

  • Author : pvalchev
    Date : 2006-10-14 18:52:12
    Hash : d6a632e5
    Message : Import ecm-6.1.1 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).

  • math/ecm/Makefile
  • # $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 <pvalchev@openbsd.org>
    
    # 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 <bsd.port.mk>