New package: fftw-3.3.
This commit is contained in:
parent
0e15145b86
commit
5213528a34
7 changed files with 94 additions and 0 deletions
1
srcpkgs/fftw-devel
Symbolic link
1
srcpkgs/fftw-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
fftw
|
2
srcpkgs/fftw/depends
Normal file
2
srcpkgs/fftw/depends
Normal file
|
@ -0,0 +1,2 @@
|
|||
abi_depends=">=3.3"
|
||||
api_depends="${abi_depends}"
|
16
srcpkgs/fftw/fftw-devel.template
Normal file
16
srcpkgs/fftw/fftw-devel.template
Normal file
|
@ -0,0 +1,16 @@
|
|||
# Template file for 'fftw-devel'.
|
||||
#
|
||||
short_desc="${short_desc} - Development files"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains files for development, headers, static libs, etc."
|
||||
|
||||
Add_dependency run libfftw
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove usr/include usr
|
||||
vmove "usr/lib/*.a" usr/lib
|
||||
vmove usr/lib/pkgconfig usr/lib
|
||||
vmove usr/share/info usr/share
|
||||
}
|
13
srcpkgs/fftw/libfftw.template
Normal file
13
srcpkgs/fftw/libfftw.template
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Template file for 'libfftw'.
|
||||
#
|
||||
short_desc="${short_desc} - Runtime library"
|
||||
long_desc="${long_desc}
|
||||
|
||||
This package contains the FFTW runtime lib(s)."
|
||||
|
||||
Add_dependency run glibc
|
||||
|
||||
do_install()
|
||||
{
|
||||
vmove "usr/lib/*.so*" usr/lib
|
||||
}
|
55
srcpkgs/fftw/template
Normal file
55
srcpkgs/fftw/template
Normal file
|
@ -0,0 +1,55 @@
|
|||
# Template file for 'fftw'
|
||||
pkgname=fftw
|
||||
version=3.3
|
||||
homepage="http://www.fftw.org/"
|
||||
distfiles="${homepage}/${pkgname}-${version}.tar.gz"
|
||||
build_style=custom-install
|
||||
short_desc="Library for computing the discrete Fourier transform (DFT)"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
license="GPL-2"
|
||||
checksum=d25a98521a13933e678ce19319d03ddc915826764e1e59abd12d172c239b6aea
|
||||
long_desc="
|
||||
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."
|
||||
|
||||
subpackages="lib${pkgname} ${pkgname}-devel"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run libfftw
|
||||
Add_dependency build gcc-fortran
|
||||
|
||||
do_configure() {
|
||||
local CARGS="--enable-shared --enable-threads"
|
||||
|
||||
# double precision
|
||||
mkdir build-double
|
||||
cd ${wrksrc}/build-double && \
|
||||
../configure ${CONFIGURE_SHARED_ARGS} ${CARGS} --enable-sse2
|
||||
|
||||
# long double precission
|
||||
mkdir ${wrksrc}/build-long-double
|
||||
cd ${wrksrc}/build-long-double && \
|
||||
../configure ${CONFIGURE_SHARED_ARGS} \
|
||||
${CARGS} --enable-long-double
|
||||
|
||||
# single precission
|
||||
mkdir ${wrksrc}/build-single
|
||||
cd ${wrksrc}/build-single && \
|
||||
../configure ${CONFIGURE_SHARED_ARGS} ${CARGS} \
|
||||
--enable-float --enable-sse
|
||||
}
|
||||
|
||||
do_build() {
|
||||
for f in double long-double single; do
|
||||
cd ${wrksrc}/build-${f} && make ${makejobs}
|
||||
done
|
||||
}
|
||||
|
||||
do_install() {
|
||||
for f in double long-double single; do
|
||||
cd ${wrksrc}/build-${f} && make DESTDIR=${DESTDIR} install
|
||||
done
|
||||
}
|
1
srcpkgs/libfftw
Symbolic link
1
srcpkgs/libfftw
Symbolic link
|
@ -0,0 +1 @@
|
|||
fftw
|
|
@ -901,3 +901,9 @@ libevview3.so.3 libevince evince-devel
|
|||
libgdprivate-1.0.so.0 gnome-documents
|
||||
libjack.so.0 libjack jack-devel
|
||||
libjackserver.so.0 libjack jack-devel
|
||||
libfftw3_threads.so.3 libfftw fftw-devel
|
||||
libfftw3.so.3 libfftw fftw-devel
|
||||
libfftw3l_threads.so.3 libfftw fftw-devel
|
||||
libfftw3l.so.3 libfftw fftw-devel
|
||||
libfftw3f_threads.so.3 libfftw fftw-devel
|
||||
libfftw3f.so.3 libfftw fftw-devel
|
||||
|
|
Loading…
Reference in a new issue