
Removed dmraid, iniparser, jam, libatasmart, libblockdev, libbytesize, libyaml, mozjs, ndctl, polkit, rpi-userland, sccache from base Removed docdir, sysconfdir and prefix quotes from autoconf build option and similar options from various packages in base Added apparch variables to base/{acpid,dmidecode,gnu-efi,pciutils,syslinux} Added udev rules build option to base/alsa-utils Discarded --offline option in base/cbindgen Upgraded base/cmake to 3.26.4 Added --without-x build option to base/dialog Upgraded base/gawk to 5.2.2 Upgraded base/glib to 2.76.3 Disabled tests and examples in base/gloox Upgraded base/gnupg2 to 2.2.41 Upgraded base/gnutls to 3.8.0 Upgraded base/gpgme to 1.20.0 Fixed make command option ordering in base/{hdparm,p7zip} Upgraded base/libgpg-error to 1.47 Upgraded base/libjpeg-turbo to 2.1.5.1 Upgraded base/libuv to 1.45.0 Discarded some build options to base/libxml2 Upgraded base/llvm to 15.0.7 Fixed subshell code in base/lua53 Removed --prefix= in several python package build files, added /usr as prefix in base/python3 Upgraded base/musl to 1.2.4 Upgraded base/nettle to 3.9 Upgraded base/nghttp2 to 1.53.0 Added --without-trust-paths to base/p11-kit Upgraded base/qpdf to 11.4.0 Discarded base/rpi-userland Upgraded base/rust to 1.69.0 Upgraded base/sqlite to 3420000 Added $CFLAGS to base/unzip Added -fPIC option to base/yasm Updated base build list
64 lines
1.3 KiB
Text
Executable file
64 lines
1.3 KiB
Text
Executable file
# Maintainer: PktSurf <smlinux@pktsurf.in>
|
|
app=fftw
|
|
version=3.3.8
|
|
build=1sml
|
|
homepage="http://www.fftw.org/"
|
|
download="https://www.fftw.org/fftw-$version.tar.gz"
|
|
desc="Collection of fast C routines for computing the Discrete Fourier Transform in multiple dimensions"
|
|
requires="gcc-libs"
|
|
|
|
prepbuilddir() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
}
|
|
|
|
build() {
|
|
sed -i 's@-mtune=native@$CFLAGS@g' configure
|
|
|
|
# Default compile options
|
|
defconfopts() {
|
|
[[ $arch = aarch64 ]] && \
|
|
addconfigopts="--enable-openmp"
|
|
./configure \
|
|
--prefix= \
|
|
--enable-shared \
|
|
--disable-static \
|
|
--enable-threads \
|
|
$addconfigopts \
|
|
$liboptions
|
|
}
|
|
|
|
defmakeopts() {
|
|
make
|
|
make install DESTDIR=$pkg
|
|
make clean
|
|
unset liboptions
|
|
}
|
|
|
|
# Standard build
|
|
defconfopts
|
|
defmakeopts
|
|
|
|
# Build with floating-point libs
|
|
liboptions=--enable-float
|
|
defconfopts
|
|
defmakeopts
|
|
|
|
# Build with double-precision libs
|
|
liboptions=--enable-long-double
|
|
defconfopts
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPY* $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
a272fd08bf852011dfe0add9f374bac8d1f52798961eb9789677177d3e2455a706e7f56ab5bb2428445c799edb72ad3851cefe298a38f226f400505cda967269 fftw-3.3.8.tar.lz
|
|
"
|