wok view fftw/receipt @ rev 24033

updated dialog-dev (1.3_20190211 -> 1.3_20210324)
author Hans-G?nter Theisgen
date Wed Apr 07 15:56:56 2021 +0100 (2021-04-07)
parents 70b446c3592a
children 4af5a3ba8ed3
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.3.8"
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="http://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 $CONFIGURE_ARGS &&
26 make $MAKEFLAGS &&
27 make DESTDIR=$DESTDIR install
29 # build long double precission
30 make clean
31 ./configure \
32 F77=gfortran \
33 --prefix=/usr \
34 --enable-long-double \
35 --enable-shared \
36 $CONFIGURE_ARGS &&
37 make $MAKEFLAGS &&
38 make DESTDIR=$DESTDIR install
40 # build single precision
41 make clean
42 ./configure \
43 F77=gfortran \
44 --prefix=/usr \
45 --enable-float \
46 --enable-shared \
47 $CONFIGURE_ARGS &&
48 make $MAKEFLAGS &&
49 make DESTDIR=$DESTDIR install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib
56 mkdir -p $fs/usr/share
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/lib/*so* $fs/usr/lib
60 }