blob: 53ab3c1ef0212c6d4df4ba5496a681cf5ebe5f72 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
# This file is part of MXE.
# See index.html for further information.
PKG := fftw
$(PKG)_IGNORE :=
$(PKG)_VERSION := 3.3.4
$(PKG)_CHECKSUM := 8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982
$(PKG)_SUBDIR := fftw-$($(PKG)_VERSION)
$(PKG)_FILE := fftw-$($(PKG)_VERSION).tar.gz
$(PKG)_URL := http://www.fftw.org/$($(PKG)_FILE)
$(PKG)_DEPS := gcc
define $(PKG)_UPDATE
$(WGET) -q -O- 'http://www.fftw.org/download.html' | \
$(SED) -n 's,.*fftw-\([0-9][^>]*\)\.tar.*,\1,p' | \
grep -v alpha | \
grep -v beta | \
head -1
endef
define $(PKG)_BUILD
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--enable-threads \
--with-combined-threads
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--enable-threads \
--with-combined-threads \
--enable-long-double
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
cd '$(1)' && ./configure \
$(MXE_CONFIGURE_OPTS) \
--enable-threads \
--with-combined-threads \
--enable-float
$(MAKE) -C '$(1)' -j '$(JOBS)' bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
$(MAKE) -C '$(1)' -j 1 install bin_PROGRAMS= sbin_PROGRAMS= noinst_PROGRAMS=
endef
|