mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
libraries/fftw: Removed (part of Slackware 13.1)
This commit is contained in:
parent
1dd077a39d
commit
2e1294e67c
4 changed files with 0 additions and 188 deletions
|
@ -1,15 +0,0 @@
|
|||
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.
|
||||
|
||||
By default non-portable binaries will be created. If you need to create
|
||||
a package that is shared among various machines, pass PORTABLE=yes to the
|
||||
script.
|
||||
|
||||
To enable SSE or SSE2 SIMD optimizations pass SSE=yes or SSE2=yes respectively
|
||||
to the script. Enabling these will still create a portable package as fftw falls
|
||||
back to the standard code, if the optimized one isn't supported on the cpu.
|
||||
However, to be able to build them your cpu has to actually support those
|
||||
extensions.
|
|
@ -1,144 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
# Slackware build script for fftw
|
||||
# Written by Kyle Guinn <elyk03@gmail.com>
|
||||
# with a few enhancements from Heinz Wiesinger <pprkut@liwjatan.at> ;)
|
||||
|
||||
PRGNAM=fftw
|
||||
VERSION=${VERSION:-3.2.2}
|
||||
ARCH=${ARCH:-i486}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
CWD=$(pwd)
|
||||
TMP=${TMP:-/tmp/SBo}
|
||||
PKG=$TMP/package-$PRGNAM-$VERSION
|
||||
OUTPUT=${OUTPUT:-/tmp}
|
||||
|
||||
DOCS="AUTHORS CONVENTIONS COPY* ChangeLog INSTALL NEWS README* TODO doc/html"
|
||||
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-O2 -fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
if [ "${PORTABLE:-no}" = "no" ]; then
|
||||
# According to doc/fftw3.pdf the configure script should choose the best
|
||||
# value for $CFLAGS. These variables must be unset so that the configure
|
||||
# script will decide.
|
||||
|
||||
# If you are interested in further optimizations such as alternative
|
||||
# multithreading and support for other processors, check this page for
|
||||
# details:
|
||||
# http://www.fftw.org/fftw3_doc/Installation-on-Unix.html
|
||||
unset CFLAGS
|
||||
unset CXXFLAGS
|
||||
unset FFLAGS
|
||||
PKGARCH="custom"
|
||||
do_portable=""
|
||||
else
|
||||
PKGARCH=$ARCH
|
||||
do_portable="--enable-portable-binary"
|
||||
fi
|
||||
|
||||
if [ "${SSE:-no}" = "no" ]; then
|
||||
do_sse=""
|
||||
else
|
||||
do_sse="--enable-sse"
|
||||
fi
|
||||
|
||||
if [ "${SSE2:-no}" = "no" ]; then
|
||||
do_sse2=""
|
||||
else
|
||||
do_sse2="--enable-sse2"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
||||
rm -rf $PKG
|
||||
mkdir -p $TMP $PKG $OUTPUT
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
chmod -R u+w,go+r-w,a-st .
|
||||
|
||||
# compile libfftw3
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--docdir=/usr/doc/fftw-$VERSION \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-threads \
|
||||
$do_sse2 \
|
||||
$do_portable
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
# compile libfftw3f
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--docdir=/usr/doc/fftw-$VERSION \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-threads \
|
||||
--enable-float \
|
||||
$do_sse \
|
||||
$do_portable
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
# compile libfftw3l
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man \
|
||||
--infodir=/usr/info \
|
||||
--docdir=/usr/doc/fftw-$VERSION \
|
||||
--enable-shared \
|
||||
--disable-static \
|
||||
--enable-threads \
|
||||
--enable-long-double \
|
||||
$do_portable
|
||||
make
|
||||
make install-strip DESTDIR=$PKG
|
||||
|
||||
( cd $PKG/usr/man
|
||||
find . -type f -exec gzip -9 {} \;
|
||||
for i in $(find . -type l); do \
|
||||
ln -s $(readlink $i).gz $i.gz; \
|
||||
rm $i; \
|
||||
done
|
||||
)
|
||||
|
||||
rm -f $PKG/usr/info/dir
|
||||
gzip -9 $PKG/usr/info/*
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
cd $PKG
|
||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$PKGARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="fftw"
|
||||
VERSION="3.2.2"
|
||||
HOMEPAGE="http://www.fftw.org/"
|
||||
DOWNLOAD="http://www.fftw.org/fftw-3.2.2.tar.gz"
|
||||
MD5SUM="b616e5c91218cc778b5aa735fefb61ae"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Kyle Guinn"
|
||||
EMAIL="elyk03@gmail.com"
|
||||
APPROVED="pprkut"
|
|
@ -1,19 +0,0 @@
|
|||
# HOW TO EDIT THIS FILE:
|
||||
# The "handy ruler" below makes it easier to edit a package description. Line
|
||||
# up the first '|' above the ':' following the base package name, and the '|'
|
||||
# on the right side marks the last column you can put a character in. You must
|
||||
# make exactly 11 lines for the formatting to be correct. It's also
|
||||
# customary to leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
fftw: fftw (Fastest Fourier Transform in the West)
|
||||
fftw:
|
||||
fftw: FFTW is a free collection of fast C routines for computing the
|
||||
fftw: Discrete Fourier Transform in one or more dimensions. It includes
|
||||
fftw: complex, real, symmetric, and parallel transforms, and can handle
|
||||
fftw: arbitrary array sizes efficiently. FFTW is typically faster than
|
||||
fftw: other publically-available FFT implementations, and is even
|
||||
fftw: competitive with vendor-tuned libraries.
|
||||
fftw:
|
||||
fftw: Homepage: http://www.fftw.org/
|
||||
fftw:
|
Loading…
Reference in a new issue