fftw: remove long_desc

This commit is contained in:
Juan RP 2014-02-19 14:40:55 +01:00
parent 411d1c6578
commit aa374cb547

View file

@ -2,20 +2,13 @@
pkgname=fftw
version=3.3.3
revision=3
hostmakedepends="libtool automake gcc-fortran"
short_desc="Library for computing the discrete Fourier transform (DFT)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://www.fftw.org/"
distfiles="${homepage}/fftw-${version}.tar.gz"
checksum=85cdfc0a0ba10d8fa4f0f8e733aac1a5936c859832a9e3d5c0731fb5c54a97f3
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."
hostmakedepends="libtool automake gcc-fortran"
pre_configure() {
sed -e 's,AM_CONFIG_HEADER,AC_CONFIG_HEADERS,g' -i configure.ac
@ -25,10 +18,9 @@ pre_configure() {
do_configure() {
local CARGS="--enable-shared --enable-threads"
if [ "$XBPS_TARGET_MACHINE" = "i686" -o "$XBPS_TARGET_MACHINE" = "x86_64" ]; then
_sse="--enable-sse"
_sse2="--enable-sse2"
fi
case "$XBPS_TARGET_MACHINE" in
i686*|x86_64*) _sse="--enable-sse"; _sse2="--enable-sse2";;
esac
# double precision
mkdir build-double
@ -61,19 +53,20 @@ do_install() {
}
libfftw_package() {
short_desc+=" - Runtime library"
short_desc+=" - runtime library"
pkg_install() {
vmove "usr/lib/*.so*"
vmove "usr/lib/*.so.*"
}
}
fftw-devel_package() {
depends="libfftw>=${version}"
depends="libfftw>=${version}_${revision}"
short_desc+=" - Development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/info
}
}