wok view fftw/receipt @ rev 24363

updated fftw and fftw-dev (3.3.8 -> 3.3.10)
author Hans-G?nter Theisgen
date Fri Feb 04 15:51:08 2022 +0100 (2022-02-04)
parents 9e789569562a
children 9af0e03b8ad0
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.3.10"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)."
9 WEB_SITE="https://www.fftw.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 BUILD_DEPENDS="gfortran"
16 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # build double precision
21 ./configure \
22 F77=gfortran \
23 --prefix=/usr \
24 --enable-shared \
25 --enable-threads \
26 $CONFIGURE_ARGS &&
27 make $MAKEFLAGS &&
28 make install DESTDIR=$DESTDIR
30 # build long double precission
31 make clean &&
32 ./configure \
33 F77=gfortran \
34 --prefix=/usr \
35 --enable-long-double \
36 --enable-shared \
37 --enable-threads \
38 $CONFIGURE_ARGS &&
39 make $MAKEFLAGS &&
40 make install DESTDIR=$DESTDIR
42 # build single precision
43 make clean &&
44 ./configure \
45 F77=gfortran \
46 --prefix=/usr \
47 --enable-float \
48 --enable-shared \
49 --enable-threads \
50 $CONFIGURE_ARGS &&
51 make $MAKEFLAGS &&
52 make install DESTDIR=$DESTDIR
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cook_copy_folders bin
59 cook_copy_files *.so*
60 }