Skip to content

Commit 40ae778

Browse files
committed
recipes/recipes_emscripten/ntl: New
1 parent f52f632 commit 40ae778

File tree

2 files changed

+41
-0
lines changed

2 files changed

+41
-0
lines changed
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
mkdir build
2+
cd build
3+
mkdir -p $PREFIX
4+
5+
cd src
6+
./configure DEF_PREFIX="$PREFIX" SHARED=off NTL_GMP_LIP=on NTL_GF2X_LIB=off
7+
make
8+
make install
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
context:
2+
version: 11.6.0
3+
4+
package:
5+
name: ntl
6+
version: ${{ version }}
7+
8+
source:
9+
url: https://libntl.org/ntl-${{ version }}.tar.gz
10+
sha256: bc0ef9aceb075a6a0673ac8d8f47d5f8458c72fe806e4468fbd5d3daff056182
11+
12+
build:
13+
number: 0
14+
15+
requirements:
16+
build:
17+
- ${{ compiler("cxx") }}
18+
- gmp
19+
20+
tests:
21+
- package_contents:
22+
files:
23+
- lib/libntl.a
24+
25+
about:
26+
license: LGPL-2.1-or-later
27+
license_file: README
28+
summary: Library for number theory
29+
homepage: https://libntl.org/
30+
31+
extra:
32+
recipe-maintainers:
33+
- mkoeppe

0 commit comments

Comments
 (0)