wok-next view fftw/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents f48456621a9d
children 92b22c1adcf0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="fftw"
4 VERSION="3.3.6-pl2"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.fftw.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/general/fftw.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://www.fftw.org/$TARBALL"
15 BUILD_DEPENDS="gfortran"
16 SPLIT="$PACKAGE-dev"
18 compile_rules() {
19 # --enable-threads: ardour need it: cannot find -lfftw3f_threads
21 # build double precision (fftw3)
22 ./configure \
23 F77=gfortran \
24 --enable-shared \
25 --enable-threads \
26 $CONFIGURE_ARGS &&
27 fix libtool &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$install install
31 # build long double precission (fftw3l)
32 make clean
33 ./configure \
34 F77=gfortran \
35 --enable-long-double \
36 --enable-shared \
37 --enable-threads \
38 $CONFIGURE_ARGS &&
39 fix libtool &&
40 make $MAKEFLAGS &&
41 make DESTDIR=$install install
43 # build single precision (fftw3f)
44 make clean
45 ./configure \
46 F77=gfortran \
47 --enable-float \
48 --enable-shared \
49 --enable-threads \
50 $CONFIGURE_ARGS &&
51 fix libtool &&
52 make $MAKEFLAGS &&
53 make DESTDIR=$install install
54 }
56 genpkg_rules() {
57 case $PACKAGE in
58 fftw) copy @std;;
59 *-dev) copy @dev;;
60 esac
61 }