From e0bbc7e0c5353b3bb8fcdf687253d1cf80c89abf Mon Sep 17 00:00:00 2001 From: tnut Date: Thu, 17 Dec 2009 23:38:48 +0100 Subject: fftw, déplacé dans base MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- base/fftw/.footprint | 38 ++++++++++++++++++++++++++++++++++++++ base/fftw/.md5sum | 1 + base/fftw/Pkgfile | 36 ++++++++++++++++++++++++++++++++++++ base/fftw/fftw.install | 22 ++++++++++++++++++++++ extra/fftw/.footprint | 38 -------------------------------------- extra/fftw/.md5sum | 1 - extra/fftw/Pkgfile | 41 ----------------------------------------- extra/fftw/fftw.install | 22 ---------------------- 8 files changed, 97 insertions(+), 102 deletions(-) create mode 100644 base/fftw/.footprint create mode 100644 base/fftw/.md5sum create mode 100644 base/fftw/Pkgfile create mode 100644 base/fftw/fftw.install delete mode 100644 extra/fftw/.footprint delete mode 100644 extra/fftw/.md5sum delete mode 100644 extra/fftw/Pkgfile delete mode 100644 extra/fftw/fftw.install diff --git a/base/fftw/.footprint b/base/fftw/.footprint new file mode 100644 index 000000000..4d013659b --- /dev/null +++ b/base/fftw/.footprint @@ -0,0 +1,38 @@ +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 +drwxr-xr-x root/root usr/lib/ +-rw-r--r-- root/root usr/lib/libfftw3.a +-rwxr-xr-x root/root usr/lib/libfftw3.la +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 +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/base/fftw/.md5sum b/base/fftw/.md5sum new file mode 100644 index 000000000..798bd7c7f --- /dev/null +++ b/base/fftw/.md5sum @@ -0,0 +1 @@ +b616e5c91218cc778b5aa735fefb61ae fftw-3.2.2.tar.gz diff --git a/base/fftw/Pkgfile b/base/fftw/Pkgfile new file mode 100644 index 000000000..b3012f061 --- /dev/null +++ b/base/fftw/Pkgfile @@ -0,0 +1,36 @@ +# Description: A library for computing the discrete Fourier transform (DFT) +# URL: http://www.fftw.org/ +# Maintainer: NuTyX core team +# Packager: lesibel at free dot fr +# Depends on: + +name=fftw +version=3.2.2 +release=1 +source=(http://www.fftw.org/$name-$version.tar.gz) + + +build() { + 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/base/fftw/fftw.install b/base/fftw/fftw.install new file mode 100644 index 000000000..a3748aae1 --- /dev/null +++ b/base/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 +} + + + + diff --git a/extra/fftw/.footprint b/extra/fftw/.footprint deleted file mode 100644 index 4d013659b..000000000 --- a/extra/fftw/.footprint +++ /dev/null @@ -1,38 +0,0 @@ -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 -drwxr-xr-x root/root usr/lib/ --rw-r--r-- root/root usr/lib/libfftw3.a --rwxr-xr-x root/root usr/lib/libfftw3.la -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 -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/.md5sum b/extra/fftw/.md5sum deleted file mode 100644 index 798bd7c7f..000000000 --- a/extra/fftw/.md5sum +++ /dev/null @@ -1 +0,0 @@ -b616e5c91218cc778b5aa735fefb61ae fftw-3.2.2.tar.gz diff --git a/extra/fftw/Pkgfile b/extra/fftw/Pkgfile deleted file mode 100644 index 9b29dd8dc..000000000 --- a/extra/fftw/Pkgfile +++ /dev/null @@ -1,41 +0,0 @@ -# Description: A library for computing the discrete Fourier transform (DFT) -# URL: http://www.fftw.org/ -# Maintainer: NuTyX core team -# 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 - - # 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 deleted file mode 100644 index a3748aae1..000000000 --- a/extra/fftw/fftw.install +++ /dev/null @@ -1,22 +0,0 @@ -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 -} - - - - -- cgit v1.2.3-70-g09d2