Imported sources from subversion.
This commit is contained in:
52
packages/fftw/default.bash
Executable file
52
packages/fftw/default.bash
Executable file
@@ -0,0 +1,52 @@
|
||||
version=\
|
||||
(
|
||||
'3.3.2'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.fftw.org/fftw-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
"6977ee770ed68c85698c7168ffa6e178"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
"Ricardo Martins <rasm@fe.up.pt>"
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../fftw-$version/configure" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical"
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libfftw3*.so*; do
|
||||
if [ -L "$f" ]; then
|
||||
cp -vd "$f" "$cfg_dir_rootfs/usr/lib"
|
||||
else
|
||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
54
packages/fftw/neon.bash
Normal file
54
packages/fftw/neon.bash
Normal file
@@ -0,0 +1,54 @@
|
||||
version=\
|
||||
(
|
||||
'3.3.2'
|
||||
)
|
||||
|
||||
url=\
|
||||
(
|
||||
"http://www.fftw.org/fftw-$version.tar.gz"
|
||||
)
|
||||
|
||||
md5=\
|
||||
(
|
||||
"6977ee770ed68c85698c7168ffa6e178"
|
||||
)
|
||||
|
||||
maintainer=\
|
||||
(
|
||||
"Ricardo Martins <rasm@fe.up.pt>"
|
||||
)
|
||||
|
||||
configure()
|
||||
{
|
||||
"../fftw-$version/configure" \
|
||||
--prefix="$cfg_dir_toolchain_sysroot/usr" \
|
||||
--disable-static \
|
||||
--enable-shared \
|
||||
--target="$cfg_target_canonical" \
|
||||
--host="$cfg_target_canonical" \
|
||||
--build="$cfg_host_canonical" \
|
||||
--enable-single \
|
||||
--enable-neon
|
||||
}
|
||||
|
||||
build()
|
||||
{
|
||||
$cmd_make
|
||||
}
|
||||
|
||||
host_install()
|
||||
{
|
||||
$cmd_make install
|
||||
}
|
||||
|
||||
target_install()
|
||||
{
|
||||
for f in "$cfg_dir_toolchain_sysroot/usr/lib/"libfftw3*.so*; do
|
||||
if [ -L "$f" ]; then
|
||||
cp -vd "$f" "$cfg_dir_rootfs/usr/lib"
|
||||
else
|
||||
$cmd_target_strip -v "$f" -o "$cfg_dir_rootfs/usr/lib/$(basename "$f")"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
Reference in New Issue
Block a user