diff options
author | lesibel <lesibel@free.fr> | 2009-11-10 14:42:25 +0100 |
---|---|---|
committer | lesibel <lesibel@free.fr> | 2009-11-10 14:42:25 +0100 |
commit | 2dcc81ec2842587618ea2b3ff2032c82af5b2cba (patch) | |
tree | 9dbe5e8e7f69f0e9c622f8477132ed8e2fa9d585 /extra | |
parent | c86499cd7176aac322a1085919c350c226fc03e2 (diff) | |
download | nutyx-pakxe-2dcc81ec2842587618ea2b3ff2032c82af5b2cba.tar.gz nutyx-pakxe-2dcc81ec2842587618ea2b3ff2032c82af5b2cba.tar.bz2 nutyx-pakxe-2dcc81ec2842587618ea2b3ff2032c82af5b2cba.tar.xz nutyx-pakxe-2dcc81ec2842587618ea2b3ff2032c82af5b2cba.zip |
Ajout de ffwt#3.2.2-1
Diffstat (limited to 'extra')
-rw-r--r-- | extra/fftw/.footprint | 16 | ||||
-rw-r--r-- | extra/fftw/Pkgfile | 42 | ||||
-rw-r--r-- | extra/fftw/fftw.install | 22 |
3 files changed, 69 insertions, 11 deletions
diff --git a/extra/fftw/.footprint b/extra/fftw/.footprint index 73f09ee56..4d013659b 100644 --- a/extra/fftw/.footprint +++ b/extra/fftw/.footprint @@ -2,6 +2,8 @@ drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwxr-xr-x root/root usr/bin/fftw-wisdom -rwxr-xr-x root/root usr/bin/fftw-wisdom-to-conf +-rwxr-xr-x root/root usr/bin/fftwf-wisdom +-rwxr-xr-x root/root usr/bin/fftwl-wisdom drwxr-xr-x root/root usr/include/ -rw-r--r-- root/root usr/include/fftw3.f -rw-r--r-- root/root usr/include/fftw3.h @@ -11,8 +13,20 @@ drwxr-xr-x root/root usr/lib/ lrwxrwxrwx root/root usr/lib/libfftw3.so -> libfftw3.so.3.2.4 lrwxrwxrwx root/root usr/lib/libfftw3.so.3 -> libfftw3.so.3.2.4 -rwxr-xr-x root/root usr/lib/libfftw3.so.3.2.4 +-rw-r--r-- root/root usr/lib/libfftw3f.a +-rwxr-xr-x root/root usr/lib/libfftw3f.la +lrwxrwxrwx root/root usr/lib/libfftw3f.so -> libfftw3f.so.3.2.4 +lrwxrwxrwx root/root usr/lib/libfftw3f.so.3 -> libfftw3f.so.3.2.4 +-rwxr-xr-x root/root usr/lib/libfftw3f.so.3.2.4 +-rw-r--r-- root/root usr/lib/libfftw3l.a +-rwxr-xr-x root/root usr/lib/libfftw3l.la +lrwxrwxrwx root/root usr/lib/libfftw3l.so -> libfftw3l.so.3.2.4 +lrwxrwxrwx root/root usr/lib/libfftw3l.so.3 -> libfftw3l.so.3.2.4 +-rwxr-xr-x root/root usr/lib/libfftw3l.so.3.2.4 drwxr-xr-x root/root usr/lib/pkgconfig/ -rw-r--r-- root/root usr/lib/pkgconfig/fftw3.pc +-rw-r--r-- root/root usr/lib/pkgconfig/fftw3f.pc +-rw-r--r-- root/root usr/lib/pkgconfig/fftw3l.pc drwxr-xr-x root/root usr/share/ drwxr-xr-x root/root usr/share/info/ -rw-r--r-- root/root usr/share/info/fftw3.info.gz @@ -20,3 +34,5 @@ drwxr-xr-x root/root usr/share/man/ drwxr-xr-x root/root usr/share/man/man1/ -rw-r--r-- root/root usr/share/man/man1/fftw-wisdom-to-conf.1.gz -rw-r--r-- root/root usr/share/man/man1/fftw-wisdom.1.gz +-rw-r--r-- root/root usr/share/man/man1/fftwf-wisdom.1.gz +-rw-r--r-- root/root usr/share/man/man1/fftwl-wisdom.1.gz diff --git a/extra/fftw/Pkgfile b/extra/fftw/Pkgfile index 73c19c947..9b29dd8dc 100644 --- a/extra/fftw/Pkgfile +++ b/extra/fftw/Pkgfile @@ -1,21 +1,41 @@ -# Description: Librairie C subroutine pour les transformations de Fourier +# Description: A library for computing the discrete Fourier transform (DFT) # URL: http://www.fftw.org/ # Maintainer: NuTyX core team -# Packager: thierryn1 at hispeed dot ch -# Depends on: gcc-fortran +# Packager: lesibel at free dot fr +# Depends on: glibc, bash name=fftw version=3.2.2 release=1 source=(http://www.fftw.org/$name-$version.tar.gz) +install=fftw.install + +# notes: +# http://www.fftw.org/fftw2_doc/fftw_6.html#SEC69 +# http://www.fftw.org/faq/section2.html#singleprec +# http://www.fftw.org/fftw3_doc/Precision.html#Precision build() { - cd $name-$version - ./configure F77=gfortran \ - --prefix=/usr \ - --enable-type-prefix \ - --enable-shared - make - make DESTDIR=$PKG install - rm $PKG/usr/share/info/dir + cd $name-$version + + # build & install double precision + ./configure F77=gfortran --prefix=/usr \ + --enable-shared + make + make DESTDIR=$PKG install + make clean + + # build & install long double precission + ./configure F77=gfortran --prefix=/usr \ + --enable-long-double --enable-shared + make + make DESTDIR=$PKG install + make clean + + # build + install single precision + ./configure F77=gfortran --prefix=/usr \ + --enable-float --enable-shared + make + make DESTDIR=$PKG install + rm $PKG/usr/share/info/dir } diff --git a/extra/fftw/fftw.install b/extra/fftw/fftw.install new file mode 100644 index 000000000..a3748aae1 --- /dev/null +++ b/extra/fftw/fftw.install @@ -0,0 +1,22 @@ +info_dir=/usr/share/info +info_files=(fftw3.info) + +post_install() { + for f in ${info_files[@]}; do + install-info ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + +post_upgrade() { + post_install +} + +pre_remove() { + for f in ${info_files[@]}; do + install-info --delete ${info_dir}/$f.gz ${info_dir}/dir 2> /dev/null + done +} + + + + |