wok-next view fftw/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
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 }