summaryrefslogtreecommitdiff
path: root/packages/fftw
diff options
context:
space:
mode:
Diffstat (limited to 'packages/fftw')
-rw-r--r--packages/fftw/benchfft_3.1.bb15
-rw-r--r--packages/fftw/fftw.inc23
-rw-r--r--packages/fftw/fftw_3.1.2.bb14
-rw-r--r--packages/fftw/fftwf_3.1.2.bb4
-rw-r--r--packages/fftw/fftwl_3.1.2.bb5
5 files changed, 49 insertions, 12 deletions
diff --git a/packages/fftw/benchfft_3.1.bb b/packages/fftw/benchfft_3.1.bb
new file mode 100644
index 0000000000..8d2d8b7f34
--- /dev/null
+++ b/packages/fftw/benchfft_3.1.bb
@@ -0,0 +1,15 @@
+DESCRIPTION = "FFTW benchmarks"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+
+SRC_URI = "http://www.fftw.org/benchfft/benchfft-${PV}.tar.gz"
+
+EXTRA_OECONF = "--disable-fortran --enable-single --enable-shared"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
+
diff --git a/packages/fftw/fftw.inc b/packages/fftw/fftw.inc
new file mode 100644
index 0000000000..8929bec2c6
--- /dev/null
+++ b/packages/fftw/fftw.inc
@@ -0,0 +1,23 @@
+DESCRIPTION = "FFTW"
+SECTION = "libs"
+PRIORITY = "optional"
+LICENSE = "GPL"
+
+PR = "r1"
+
+SRC_URI = "http://www.fftw.org/fftw-${PV}.tar.gz"
+
+S = "${WORKDIR}/fftw-${PV}"
+
+inherit autotools pkgconfig
+
+do_stage () {
+ autotools_stage_all
+}
+
+
+PACKAGES =+ "lib${PN}"
+
+FILES_lib${PN} = "${libdir}/lib*.so.*"
+
+# rename binary in /bin and use u-a tpo choose between different precision implementations?
diff --git a/packages/fftw/fftw_3.1.2.bb b/packages/fftw/fftw_3.1.2.bb
index 58603ef24c..bb58aac8e1 100644
--- a/packages/fftw/fftw_3.1.2.bb
+++ b/packages/fftw/fftw_3.1.2.bb
@@ -1,15 +1,5 @@
-DESCRIPTION = "FFTW"
-SECTION = "libs"
-PRIORITY = "optional"
-LICENSE = "GPL"
+require fftw.inc
-SRC_URI = "http://www.fftw.org/fftw-${PV}.tar.gz"
+EXTRA_OECONF = "--disable-fortran --enable-shared"
-EXTRA_OECONF = "--disable-fortran --enable-single --enable-shared"
-
-inherit autotools pkgconfig
-
-do_stage () {
- autotools_stage_all
-}
diff --git a/packages/fftw/fftwf_3.1.2.bb b/packages/fftw/fftwf_3.1.2.bb
new file mode 100644
index 0000000000..a0bba2c968
--- /dev/null
+++ b/packages/fftw/fftwf_3.1.2.bb
@@ -0,0 +1,4 @@
+require fftw.inc
+
+EXTRA_OECONF = "--disable-fortran --enable-single --enable-shared"
+
diff --git a/packages/fftw/fftwl_3.1.2.bb b/packages/fftw/fftwl_3.1.2.bb
new file mode 100644
index 0000000000..9097d5f1bc
--- /dev/null
+++ b/packages/fftw/fftwl_3.1.2.bb
@@ -0,0 +1,5 @@
+require fftw.inc
+
+EXTRA_OECONF = "--disable-fortran --enable-long-double --enable-shared"
+
+