wok-6.x diff fftw/receipt @ rev 23652

updated smtube (19.6.0 -> 20.1.0)
author Hans-G?nter Theisgen
date Mon Apr 20 15:28:06 2020 +0100 (2020-04-20)
parents 70b446c3592a
children 4af5a3ba8ed3
line diff
     1.1 --- a/fftw/receipt	Sun Feb 22 09:43:05 2015 +0000
     1.2 +++ b/fftw/receipt	Mon Apr 20 15:28:06 2020 +0100
     1.3 @@ -1,47 +1,60 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="fftw"
     1.7 -VERSION="3.3.4"
     1.8 +VERSION="3.3.8"
     1.9  CATEGORY="multimedia"
    1.10  MAINTAINER="jozee@slitaz.org"
    1.11  LICENSE="GPL2"
    1.12 -SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
    1.13 -BUILD_DEPENDS="gfortran"
    1.14 +SHORT_DESC="A library for computing the discrete Fourier transform (DFT)."
    1.15  WEB_SITE="http://www.fftw.org/"
    1.16 +
    1.17  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.18  WGET_URL="$WEB_SITE/$TARBALL"
    1.19 -TAGS=""
    1.20 +
    1.21 +BUILD_DEPENDS="gfortran"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  
    1.25 -compile_rules() {
    1.26 -  cd $src
    1.27 -  
    1.28 -  # build double precision
    1.29 -  ./configure F77=gfortran --prefix=/usr --enable-shared \
    1.30 -	$CONFIGURE_ARGS &&
    1.31 -  make $MAKEFLAGS &&
    1.32 -  make DESTDIR=$DESTDIR install 
    1.33 - 
    1.34 -  # build long double precission
    1.35 -  make clean
    1.36 -  ./configure F77=gfortran --prefix=/usr --enable-long-double  --enable-shared \
    1.37 -	$CONFIGURE_ARGS &&
    1.38 -  make $MAKEFLAGS &&
    1.39 -  make DESTDIR=$DESTDIR install 
    1.40 -  
    1.41 -  # build single precision
    1.42 -  make clean
    1.43 -  ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared \
    1.44 -	$CONFIGURE_ARGS &&
    1.45 -  make $MAKEFLAGS &&
    1.46 -  make DESTDIR=$DESTDIR install 
    1.47 +compile_rules()
    1.48 +{
    1.49 +	# build double precision
    1.50 +	./configure		\
    1.51 +		F77=gfortran	\
    1.52 +		--prefix=/usr	\
    1.53 +		--enable-shared	\
    1.54 +		$CONFIGURE_ARGS &&
    1.55 +	make $MAKEFLAGS &&
    1.56 +	make DESTDIR=$DESTDIR install 
    1.57 +
    1.58 +	# build long double precission
    1.59 +	make clean
    1.60 +	./configure			\
    1.61 +		F77=gfortran		\
    1.62 +		--prefix=/usr		\
    1.63 +		--enable-long-double	\
    1.64 +		--enable-shared		\
    1.65 +		$CONFIGURE_ARGS &&
    1.66 +	make $MAKEFLAGS &&
    1.67 +	make DESTDIR=$DESTDIR install 
    1.68 +
    1.69 +	# build single precision
    1.70 +	make clean
    1.71 +	./configure		\
    1.72 +		F77=gfortran	\
    1.73 +		--prefix=/usr	\
    1.74 +		--enable-float	\
    1.75 +		--enable-shared	\
    1.76 +		$CONFIGURE_ARGS &&
    1.77 +	make $MAKEFLAGS &&
    1.78 +	make DESTDIR=$DESTDIR install 
    1.79  }
    1.80  	
    1.81  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.82  genpkg_rules()
    1.83  {
    1.84 -	mkdir -p $fs/usr/lib $fs/usr/share
    1.85 -	cp -a $install/usr/bin $fs/usr
    1.86 -	cp -a $install/usr/lib/*so* $fs/usr/lib/
    1.87 +	mkdir -p $fs/usr/lib
    1.88 +	mkdir -p $fs/usr/share
    1.89 +
    1.90 +	cp -a $install/usr/bin		$fs/usr
    1.91 +	cp -a $install/usr/lib/*so*	$fs/usr/lib
    1.92  }