summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKiet To2019-03-15 12:58:56 +1030
committerKiet To2019-03-15 12:58:56 +1030
commitb8da25b69c8c03f4062e5627ccdf9ec3f6ab46e8 (patch)
treee7d7f9f3665ee06fe334e7c67114364292351e22
downloadaur-fftss.tar.gz
* first import - fftss 3.0
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore8
-rw-r--r--PKGBUILD47
-rw-r--r--cmake.tar.gzbin0 -> 621 bytes
4 files changed, 70 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..6465be7edbb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = fftss
+ pkgdesc = an open source library for computing the Fast Fourier Transform
+ pkgver = 3.0
+ pkgrel = 1
+ url = https://www.ssisc.org/fftss/index.en.html
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ source = https://www.ssisc.org/fftss/dl/fftss-3.0-20071031.tar.gz
+ source = cmake.tar.gz
+ sha256sums = 5c82f8f918de6b996c2e760c7ba654d429667b9d8649aef3a57d0c72227ee9e8
+ sha256sums = 706a756c0545643ad40ce441b2c0f4bb11d04b80774bc12f297babb3ec6f1845
+
+pkgname = fftss
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..60e2d3de3b2
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,8 @@
+*~
+pkg/
+src/
+plantuml-*.tar.gz
+*.tar.xz
+tests/
+/cmake/
+fftss-*.tar.gz
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2a87fb5da4f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Kiet To <kwrazi at gmail dot com>
+
+pkgname=fftss
+pkgver=3.0
+_pkgver="${pkgver}-20071031"
+pkgrel=1
+pkgdesc="an open source library for computing the Fast Fourier Transform"
+arch=('i686' 'x86_64')
+url="https://www.ssisc.org/fftss/index.en.html"
+license=('LGPL')
+source=("https://www.ssisc.org/fftss/dl/${pkgname}-${_pkgver}.tar.gz"
+ "cmake.tar.gz")
+sha256sums=('5c82f8f918de6b996c2e760c7ba654d429667b9d8649aef3a57d0c72227ee9e8'
+ '706a756c0545643ad40ce441b2c0f4bb11d04b80774bc12f297babb3ec6f1845')
+
+build() {
+ cd "$srcdir/${pkgname}-${_pkgver}"
+
+ for FILE in libfftss/Makefile.am \
+ libfftss/Makefile.in \
+ libpfftss/Makefile.am \
+ libpfftss/Makefile.in ; do
+ sed -i 's/version-info 1:0:0/version-info 3:0:0/' $FILE
+ done
+
+ # Optional configure flags
+ # --without-simd Do not use SIMD instructions.
+ # --without-asm Do not use assembly codes.
+ # --with-bg Build for IBM Blue Gene system. (cross build)
+ # --with-bg-compat Enable FFT kernels for Blue Gene in compatible mode.
+ # --with-recommended Set recommended CC and CFLAGS variables.
+ # --enable-openmp Enable OpenMP.
+ # --enable-mpi Enable MPI.
+ ./configure --prefix=/usr --enable-shared
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${_pkgver}"
+
+ make DESTDIR="$pkgdir/" install
+
+ install -dv $pkgdir/usr/lib/cmake/fftss
+ install -Dv $srcdir/cmake/fftss/* $pkgdir/usr/lib/cmake/fftss
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/cmake.tar.gz b/cmake.tar.gz
new file mode 100644
index 00000000000..6f5aa870723
--- /dev/null
+++ b/cmake.tar.gz
Binary files differ