wok view fftw/receipt @ rev 25680
updated gnu-efi (3.0.14 -> 3.0.17)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 18 18:46:02 2024 +0100 (8 months ago) |
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 }