wok-next diff fftw/receipt @ rev 19950
Add libegl-mesa
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 12:41:47 2017 +0200 (2017-10-16) |
parents | 70b446c3592a |
children | ab7c63b80420 |
line diff
1.1 --- a/fftw/receipt Sun Feb 22 09:43:05 2015 +0000 1.2 +++ b/fftw/receipt Mon Oct 16 12:41:47 2017 +0200 1.3 @@ -1,47 +1,51 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="fftw" 1.7 -VERSION="3.3.4" 1.8 +VERSION="3.3.6-pl2" 1.9 CATEGORY="multimedia" 1.10 +SHORT_DESC="A library for computing the discrete Fourier transform (DFT)" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 LICENSE="GPL2" 1.13 -SHORT_DESC="A library for computing the discrete Fourier transform (DFT)" 1.14 +WEB_SITE="http://www.fftw.org/" 1.15 + 1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 +WGET_URL="http://www.fftw.org/$TARBALL" 1.18 + 1.19 BUILD_DEPENDS="gfortran" 1.20 -WEB_SITE="http://www.fftw.org/" 1.21 -TARBALL="$PACKAGE-$VERSION.tar.gz" 1.22 -WGET_URL="$WEB_SITE/$TARBALL" 1.23 -TAGS="" 1.24 1.25 # Rules to configure and make the package. 1.26 +compile_rules() { 1.27 + # build double precision 1.28 + ./configure \ 1.29 + F77=gfortran \ 1.30 + --enable-shared \ 1.31 + $CONFIGURE_ARGS && 1.32 + make $MAKEFLAGS && 1.33 + make DESTDIR=$DESTDIR install 1.34 1.35 -compile_rules() { 1.36 - cd $src 1.37 - 1.38 - # build double precision 1.39 - ./configure F77=gfortran --prefix=/usr --enable-shared \ 1.40 - $CONFIGURE_ARGS && 1.41 - make $MAKEFLAGS && 1.42 - make DESTDIR=$DESTDIR install 1.43 - 1.44 - # build long double precission 1.45 - make clean 1.46 - ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared \ 1.47 - $CONFIGURE_ARGS && 1.48 - make $MAKEFLAGS && 1.49 - make DESTDIR=$DESTDIR install 1.50 - 1.51 - # build single precision 1.52 - make clean 1.53 - ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared \ 1.54 - $CONFIGURE_ARGS && 1.55 - make $MAKEFLAGS && 1.56 - make DESTDIR=$DESTDIR install 1.57 + # build long double precission 1.58 + make clean 1.59 + ./configure \ 1.60 + F77=gfortran \ 1.61 + --enable-long-double \ 1.62 + --enable-shared \ 1.63 + $CONFIGURE_ARGS && 1.64 + make $MAKEFLAGS && 1.65 + make DESTDIR=$DESTDIR install 1.66 + 1.67 + # build single precision 1.68 + make clean 1.69 + ./configure \ 1.70 + F77=gfortran \ 1.71 + --enable-float \ 1.72 + --enable-shared \ 1.73 + $CONFIGURE_ARGS && 1.74 + make $MAKEFLAGS && 1.75 + make DESTDIR=$DESTDIR install 1.76 } 1.77 - 1.78 + 1.79 # Rules to gen a SliTaz package suitable for Tazpkg. 1.80 genpkg_rules() 1.81 { 1.82 - mkdir -p $fs/usr/lib $fs/usr/share 1.83 - cp -a $install/usr/bin $fs/usr 1.84 - cp -a $install/usr/lib/*so* $fs/usr/lib/ 1.85 + copy @std 1.86 }