forked from Lainports/freebsd-ports
Adding gf2x, a library for multiplying polynomials over the binary field.
To be used from SageMath and NTL.
This commit is contained in:
parent
a18110d6db
commit
e579fe0130
5 changed files with 70 additions and 0 deletions
|
|
@ -275,6 +275,7 @@
|
|||
SUBDIR += geogram
|
||||
SUBDIR += geonext
|
||||
SUBDIR += gexpr
|
||||
SUBDIR += gf2x
|
||||
SUBDIR += gfan
|
||||
SUBDIR += gfanlib
|
||||
SUBDIR += ggobi
|
||||
|
|
|
|||
38
math/gf2x/Makefile
Normal file
38
math/gf2x/Makefile
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
# Created by: thierry@pompo.net
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gf2x
|
||||
PORTVERSION= 1.3.0
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= https://gforge.inria.fr/frs/download.php/file/38243/
|
||||
|
||||
MAINTAINER= thierry@FreeBSD.org
|
||||
COMMENT= Library for multiplying polynomials over the binary field
|
||||
|
||||
LICENSE= GPLv3 LGPL21
|
||||
LICENSE_COMB= dual
|
||||
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING.LIB
|
||||
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
|
||||
|
||||
USES= libtool
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
TEST_TARGET= check
|
||||
|
||||
OPTIONS_RADIO= LIC
|
||||
OPTIONS_RADIO_LIC= LIC_GPLV3 LIC_LGPL21
|
||||
OPTIONS_DEFAULT= LIC_GPLV3
|
||||
LIC_GPLV3_DESC= Choose the GPLv3 version
|
||||
LIC_LGPL21_DESC= Choose the LGPL 2.1 version
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
post-extract:
|
||||
.if ${PORT_OPTIONS:MLIC_LGPL21}
|
||||
${MV} ${WRKSRC}/toom-gpl.c ${WRKSRC}/toom-gpl.c.GPLv3
|
||||
${MV} ${WRKSRC}/toom-gpl-placeholder.c ${WRKSRC}/toom-gpl.c
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
3
math/gf2x/distinfo
Normal file
3
math/gf2x/distinfo
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
TIMESTAMP = 1585325011
|
||||
SHA256 (gf2x-1.3.0.tar.gz) = 9472cd651972a1de38e3c4c47697a86e0ecf19d7d33454d4bc2a62bc85841b59
|
||||
SIZE (gf2x-1.3.0.tar.gz) = 727717
|
||||
8
math/gf2x/pkg-descr
Normal file
8
math/gf2x/pkg-descr
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
gf2x is a C/C++ software package containing routines for fast arithmetic in
|
||||
GF(2)[x] (multiplication, squaring, GCD) and searching for irreducible/primitive
|
||||
trinomials.
|
||||
|
||||
Note: this port provides either a LGPL or a GPLv3 (default) version, and you
|
||||
can make your choice with the option.
|
||||
|
||||
WWW: http://gf2x.gforge.inria.fr/
|
||||
20
math/gf2x/pkg-plist
Normal file
20
math/gf2x/pkg-plist
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
include/gf2x.h
|
||||
include/gf2x/gf2x-config-export.h
|
||||
include/gf2x/gf2x-config.h
|
||||
include/gf2x/gf2x-impl-export.h
|
||||
include/gf2x/gf2x-small.h
|
||||
include/gf2x/gf2x-thresholds.h
|
||||
include/gf2x/gf2x_mul1.h
|
||||
include/gf2x/gf2x_mul2.h
|
||||
include/gf2x/gf2x_mul3.h
|
||||
include/gf2x/gf2x_mul4.h
|
||||
include/gf2x/gf2x_mul5.h
|
||||
include/gf2x/gf2x_mul6.h
|
||||
include/gf2x/gf2x_mul7.h
|
||||
include/gf2x/gf2x_mul8.h
|
||||
include/gf2x/gf2x_mul9.h
|
||||
lib/libgf2x.a
|
||||
lib/libgf2x.so
|
||||
lib/libgf2x.so.3
|
||||
lib/libgf2x.so.3.0.0
|
||||
libdata/pkgconfig/gf2x.pc
|
||||
Loading…
Add table
Reference in a new issue