New package fftwf-3.0.1: A single precision library version of math/fftw
This commit is contained in:
parent
3cb54ed23e
commit
bea0900a06
5 changed files with 83 additions and 0 deletions
11
math/fftwf/DESCR
Normal file
11
math/fftwf/DESCR
Normal file
|
@ -0,0 +1,11 @@
|
|||
FFTW is a free collection of fast C routines for computing the
|
||||
Discrete Fourier Transform in one or more dimensions. It includes
|
||||
complex, real, symmetric, and parallel transforms, and can handle
|
||||
arbitrary array sizes efficiently. FFTW is typically faster than
|
||||
other publically-available FFT implementations, and is even
|
||||
competitive with vendor-tuned libraries. (See our web page for
|
||||
extensive benchmarks.) To achieve this performance, FFTW uses novel
|
||||
code-generation and runtime self-optimization techniques (along with
|
||||
many other tricks).
|
||||
|
||||
This package provides the single precision library.
|
41
math/fftwf/Makefile
Normal file
41
math/fftwf/Makefile
Normal file
|
@ -0,0 +1,41 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
|
||||
|
||||
.if (${MACHINE_ARCH} == "powerpc")
|
||||
DISTNAME= fftw-3.0.1-fma
|
||||
.else
|
||||
DISTNAME= fftw-3.0.1
|
||||
.endif
|
||||
PKGNAME= fftwf-3.0.1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= ftp://ftp.fftw.org/pub/fftw/ \
|
||||
http://www.fftw.org/
|
||||
|
||||
MAINTAINER= tech-pkg@NetBSD.org
|
||||
HOMEPAGE= http://www.fftw.org/
|
||||
COMMENT= Collection of fast C routines to compute DFTs
|
||||
|
||||
USE_LIBTOOL= yes
|
||||
PKGCONFIG_OVERRIDE+= fftw.pc.in
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS+= --enable-shared
|
||||
CONFIGURE_ARGS+= --enable-float
|
||||
|
||||
DEPENDS+= fftw>=3.0.1:../../math/fftw
|
||||
|
||||
.if (${MACHINE_ARCH} == "i386")
|
||||
#CONFIGURE_ARGS+= --enable-sse
|
||||
CONFIGURE_ARGS+= --with-our-malloc16
|
||||
.endif
|
||||
USE_LANGUAGES= fortran
|
||||
USE_TOOLS+= gmake
|
||||
|
||||
TEST_TARGET= check
|
||||
|
||||
do-install:
|
||||
${GMAKE} -C ${WRKSRC} install-libLTLIBRARIES
|
||||
${GMAKE} -C ${WRKSRC} install-pkgconfigDATA
|
||||
${GMAKE} -C ${WRKSRC}/tools install-binPROGRAMS
|
||||
${INSTALL_MAN} ${WRKSRC}/tools/fftwf-wisdom.1 \
|
||||
${LOCALBASE}/man/man1
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
5
math/fftwf/PLIST
Normal file
5
math/fftwf/PLIST
Normal file
|
@ -0,0 +1,5 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
|
||||
bin/fftwf-wisdom
|
||||
lib/libfftw3f.la
|
||||
lib/pkgconfig/fftw3f.pc
|
||||
man/man1/fftwf-wisdom.1
|
21
math/fftwf/buildlink3.mk
Normal file
21
math/fftwf/buildlink3.mk
Normal file
|
@ -0,0 +1,21 @@
|
|||
# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
||||
FFTWF_BUILDLINK3_MK:= ${FFTWF_BUILDLINK3_MK}+
|
||||
|
||||
.if !empty(BUILDLINK_DEPTH:M+)
|
||||
BUILDLINK_DEPENDS+= fftwf
|
||||
.endif
|
||||
|
||||
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nfftwf}
|
||||
BUILDLINK_PACKAGES+= fftwf
|
||||
|
||||
.if !empty(FFTWF_BUILDLINK3_MK:M+)
|
||||
BUILDLINK_DEPENDS.fftwf+= fftwf>=3.0
|
||||
BUILDLINK_RECOMMENDED.fftwf+= fftwf>=3.0.1
|
||||
BUILDLINK_PKGSRCDIR.fftwf?= ../../math/fftwf
|
||||
.endif # FFTWF_BUILDLINK3_MK
|
||||
|
||||
.include "../../math/fftw/buildlink3.mk"
|
||||
|
||||
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|
5
math/fftwf/distinfo
Normal file
5
math/fftwf/distinfo
Normal file
|
@ -0,0 +1,5 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/10/02 12:06:42 wulf Exp $
|
||||
|
||||
SHA1 (fftw-3.0.1.tar.gz) = e392a005dd93583f47de29ec4992687aa21bf3a2
|
||||
RMD160 (fftw-3.0.1.tar.gz) = 075bbdf5da67bb29117f9f54864db26acd971034
|
||||
Size (fftw-3.0.1.tar.gz) = 1946361 bytes
|
Loading…
Reference in a new issue