wok-current rev 22722

updated fftw and fftw-dev (3.3.4 -> 3.3.8)
author Hans-G?nter Theisgen
date Wed Jan 22 17:37:11 2020 +0100 (2020-01-22)
parents da18496ecada
children 78494a055861
files fftw-dev/receipt fftw/receipt
line diff
     1.1 --- a/fftw-dev/receipt	Wed Jan 22 17:28:23 2020 +0100
     1.2 +++ b/fftw-dev/receipt	Wed Jan 22 17:37:11 2020 +0100
     1.3 @@ -1,21 +1,22 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fftw-dev"
     1.7 -VERSION="3.3.4"
     1.8 +VERSION="3.3.8"
     1.9  CATEGORY="development"
    1.10 +SHORT_DESC="fftw development files."
    1.11  MAINTAINER="jozee@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -SHORT_DESC="fftw devel files"
    1.14  WEB_SITE="http://www.fftw.org/"
    1.15 -WANTED="fftw"
    1.16  
    1.17  DEPENDS="fftw pkg-config"
    1.18 +WANTED="fftw"
    1.19  
    1.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.21  genpkg_rules()
    1.22  {
    1.23  	mkdir -p $fs/usr/lib
    1.24 -	cp -a $install/usr/lib/*.*a $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/pkgconfig $fs/usr/lib
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 +
    1.28 +	cp -a $install/usr/lib/*.*a		$fs/usr/lib
    1.29 +	cp -a $install/usr/lib/pkgconfig	$fs/usr/lib
    1.30 +	cp -a $install/usr/include		$fs/usr
    1.31  }
     2.1 --- a/fftw/receipt	Wed Jan 22 17:28:23 2020 +0100
     2.2 +++ b/fftw/receipt	Wed Jan 22 17:37:11 2020 +0100
     2.3 @@ -1,47 +1,60 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="fftw"
     2.7 -VERSION="3.3.4"
     2.8 +VERSION="3.3.8"
     2.9  CATEGORY="multimedia"
    2.10  MAINTAINER="jozee@slitaz.org"
    2.11  LICENSE="GPL2"
    2.12 -SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
    2.13 -BUILD_DEPENDS="gfortran"
    2.14 +SHORT_DESC="A library for computing the discrete Fourier transform (DFT)."
    2.15  WEB_SITE="http://www.fftw.org/"
    2.16 +
    2.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.18  WGET_URL="$WEB_SITE/$TARBALL"
    2.19 -TAGS=""
    2.20 +
    2.21 +BUILD_DEPENDS="gfortran"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  
    2.25 -compile_rules() {
    2.26 -  cd $src
    2.27 -  
    2.28 -  # build double precision
    2.29 -  ./configure F77=gfortran --prefix=/usr --enable-shared \
    2.30 -	$CONFIGURE_ARGS &&
    2.31 -  make $MAKEFLAGS &&
    2.32 -  make DESTDIR=$DESTDIR install 
    2.33 - 
    2.34 -  # build long double precission
    2.35 -  make clean
    2.36 -  ./configure F77=gfortran --prefix=/usr --enable-long-double  --enable-shared \
    2.37 -	$CONFIGURE_ARGS &&
    2.38 -  make $MAKEFLAGS &&
    2.39 -  make DESTDIR=$DESTDIR install 
    2.40 -  
    2.41 -  # build single precision
    2.42 -  make clean
    2.43 -  ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared \
    2.44 -	$CONFIGURE_ARGS &&
    2.45 -  make $MAKEFLAGS &&
    2.46 -  make DESTDIR=$DESTDIR install 
    2.47 +compile_rules()
    2.48 +{
    2.49 +	# build double precision
    2.50 +	./configure		\
    2.51 +		F77=gfortran	\
    2.52 +		--prefix=/usr	\
    2.53 +		--enable-shared	\
    2.54 +		$CONFIGURE_ARGS &&
    2.55 +	make $MAKEFLAGS &&
    2.56 +	make DESTDIR=$DESTDIR install 
    2.57 +
    2.58 +	# build long double precission
    2.59 +	make clean
    2.60 +	./configure			\
    2.61 +		F77=gfortran		\
    2.62 +		--prefix=/usr		\
    2.63 +		--enable-long-double	\
    2.64 +		--enable-shared		\
    2.65 +		$CONFIGURE_ARGS &&
    2.66 +	make $MAKEFLAGS &&
    2.67 +	make DESTDIR=$DESTDIR install 
    2.68 +
    2.69 +	# build single precision
    2.70 +	make clean
    2.71 +	./configure		\
    2.72 +		F77=gfortran	\
    2.73 +		--prefix=/usr	\
    2.74 +		--enable-float	\
    2.75 +		--enable-shared	\
    2.76 +		$CONFIGURE_ARGS &&
    2.77 +	make $MAKEFLAGS &&
    2.78 +	make DESTDIR=$DESTDIR install 
    2.79  }
    2.80  	
    2.81  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.82  genpkg_rules()
    2.83  {
    2.84 -	mkdir -p $fs/usr/lib $fs/usr/share
    2.85 -	cp -a $install/usr/bin $fs/usr
    2.86 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
    2.87 +	mkdir -p $fs/usr/lib
    2.88 +	mkdir -p $fs/usr/share
    2.89 +
    2.90 +	cp -a $install/usr/bin		$fs/usr
    2.91 +	cp -a $install/usr/lib/*so*	$fs/usr/lib
    2.92  }