wok-next annotate fftw/receipt @ rev 21687
updated glpi (0.80.7 -> 9.4.6)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 17:11:21 2020 +0100 (2020-06-29) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20405 | 1 # SliTaz package receipt v2. |
jozee@6823 | 2 |
jozee@6823 | 3 PACKAGE="fftw" |
Hans-G?nter@21651 | 4 VERSION="3.3.8" |
jozee@6823 | 5 CATEGORY="multimedia" |
al@19713 | 6 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)" |
Hans-G?nter@21651 | 7 MAINTAINER="maintainer@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
al@19713 | 9 WEB_SITE="http://www.fftw.org/" |
al@21017 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/fftw.html" |
al@19713 | 11 |
al@19713 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19713 | 13 WGET_URL="http://www.fftw.org/$TARBALL" |
al@19713 | 14 |
jozee@6823 | 15 BUILD_DEPENDS="gfortran" |
al@21020 | 16 SPLIT="$PACKAGE-dev" |
jozee@6823 | 17 |
Hans-G?nter@21651 | 18 compile_rules() |
Hans-G?nter@21651 | 19 { |
al@20470 | 20 # --enable-threads: ardour need it: cannot find -lfftw3f_threads |
al@20470 | 21 |
al@20470 | 22 # build double precision (fftw3) |
Hans-G?nter@21651 | 23 ./configure \ |
Hans-G?nter@21651 | 24 F77=gfortran \ |
Hans-G?nter@21651 | 25 --enable-shared \ |
Hans-G?nter@21651 | 26 --enable-threads \ |
al@19713 | 27 $CONFIGURE_ARGS && |
al@20569 | 28 fix libtool && |
al@19713 | 29 make $MAKEFLAGS && |
al@21020 | 30 make DESTDIR=$install install |
jozee@6823 | 31 |
Hans-G?nter@21651 | 32 # build long double precision (fftw3l) |
al@19713 | 33 make clean |
Hans-G?nter@21651 | 34 ./configure \ |
Hans-G?nter@21651 | 35 F77=gfortran \ |
Hans-G?nter@21651 | 36 --enable-long-double \ |
Hans-G?nter@21651 | 37 --enable-shared \ |
Hans-G?nter@21651 | 38 --enable-threads \ |
al@19713 | 39 $CONFIGURE_ARGS && |
al@20569 | 40 fix libtool && |
al@19713 | 41 make $MAKEFLAGS && |
al@21020 | 42 make DESTDIR=$install install |
al@19713 | 43 |
al@20470 | 44 # build single precision (fftw3f) |
al@19713 | 45 make clean |
Hans-G?nter@21651 | 46 ./configure \ |
Hans-G?nter@21651 | 47 F77=gfortran \ |
Hans-G?nter@21651 | 48 --enable-float \ |
Hans-G?nter@21651 | 49 --enable-shared \ |
Hans-G?nter@21651 | 50 --enable-threads \ |
al@19713 | 51 $CONFIGURE_ARGS && |
al@20569 | 52 fix libtool && |
al@19713 | 53 make $MAKEFLAGS && |
al@21020 | 54 make DESTDIR=$install install |
jozee@6823 | 55 } |
al@19713 | 56 |
Hans-G?nter@21651 | 57 genpkg_rules() |
Hans-G?nter@21651 | 58 { |
al@20405 | 59 case $PACKAGE in |
al@20405 | 60 fftw) copy @std;; |
al@20405 | 61 *-dev) copy @dev;; |
al@20405 | 62 esac |
jozee@6823 | 63 } |