summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcircl <circl.lastname@gmail.com>2022-03-19 16:51:15 +0100
committerLinus Groh <mail@linusgroh.de>2022-03-20 18:20:01 +0000
commitadcd39d92845016a845205105650c45858ab3c54 (patch)
treea1e967c1f20172d2a737c15ae7f72596cbaa30bd
parentce5f34f153cc0e6c6cf217b16b93f37190616feb (diff)
downloadserenity-adcd39d92845016a845205105650c45858ab3c54.zip
Ports: Add FFTW port
-rw-r--r--Ports/AvailablePorts.md1
-rwxr-xr-xPorts/libfftw3f/package.sh9
2 files changed, 10 insertions, 0 deletions
diff --git a/Ports/AvailablePorts.md b/Ports/AvailablePorts.md
index 3d437a59cc..a2fa54009e 100644
--- a/Ports/AvailablePorts.md
+++ b/Ports/AvailablePorts.md
@@ -85,6 +85,7 @@ Please make sure to keep this list up to date when adding and updating ports. :^
| [`libatomic_ops`](libatomic_ops/) | libatomic\_ops | 7.6.10 | https://www.hboehm.info/gc/ |
| [`libexpat`](libexpat/) | Expat | 2.2.9 | https://libexpat.github.io/ |
| [`libffi`](libffi/) | libffi | 3.4.2 | https://www.sourceware.org/libffi/ |
+| [`libfftw3f`](libfftw3f/) | Fastest Fourier Transform in the West (single precision) | 3.3.10 | https://www.fftw.org/ |
| [`libgcrypt`](libgcrypt/) | libgcrypt | 1.9.2 | https://gnupg.org/software/libgcrypt/index.html |
| [`libgd`](libgd/) | libgd | 2.3.3 | https://libgd.github.io/ |
| [`libgpg-error`](libgpg-error/) | libgpg-error | 1.42 | https://gnupg.org/software/libgpg-error/index.html |
diff --git a/Ports/libfftw3f/package.sh b/Ports/libfftw3f/package.sh
new file mode 100755
index 0000000000..fea5df1f5b
--- /dev/null
+++ b/Ports/libfftw3f/package.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env -S bash ../.port_include.sh
+port=libfftw3f
+version=3.3.10
+useconfigure=true
+configopts=("--enable-float")
+use_fresh_config_sub=true
+files="http://fftw.org/fftw-${version}.tar.gz fftw-${version}.tar.gz 56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
+auth_type=sha256
+workdir="fftw-${version}"