wok view fftw/receipt @ rev 24630
updated gsoap and gsoap-dev (2.8.98 -> 2.8.119)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 08 09:50:11 2022 +0100 (2022-03-08) |
parents | 4af5a3ba8ed3 |
children |
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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/FFTW [0-9]/!d;s|^FFTW ||;s| is.*||;q'
23 }
25 compile_rules()
26 {
27 # build double precision
28 ./configure \
29 F77=gfortran \
30 --prefix=/usr \
31 --enable-shared \
32 --enable-threads \
33 $CONFIGURE_ARGS &&
34 make $MAKEFLAGS &&
35 make install DESTDIR=$DESTDIR
37 # build long double precission
38 make clean &&
39 ./configure \
40 F77=gfortran \
41 --prefix=/usr \
42 --enable-long-double \
43 --enable-shared \
44 --enable-threads \
45 $CONFIGURE_ARGS &&
46 make $MAKEFLAGS &&
47 make install DESTDIR=$DESTDIR
49 # build single precision
50 make clean &&
51 ./configure \
52 F77=gfortran \
53 --prefix=/usr \
54 --enable-float \
55 --enable-shared \
56 --enable-threads \
57 $CONFIGURE_ARGS &&
58 make $MAKEFLAGS &&
59 make install DESTDIR=$DESTDIR
60 }
62 # Rules to gen a SliTaz package suitable for Tazpkg.
63 genpkg_rules()
64 {
65 cook_copy_folders bin
66 cook_copy_files *.so*
67 }