wok view fftw/receipt @ rev 20255

firefox, thunderbird: try to force i686
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Mar 13 21:40:37 2018 +0100 (2018-03-13)
parents fcdd50638150
children 9e789569562a
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.3.4"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
9 BUILD_DEPENDS="gfortran"
10 WEB_SITE="http://www.fftw.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
13 TAGS=""
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
20 # build double precision
21 ./configure F77=gfortran --prefix=/usr --enable-shared \
22 $CONFIGURE_ARGS &&
23 make $MAKEFLAGS &&
24 make DESTDIR=$DESTDIR install
26 # build long double precission
27 make clean
28 ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$DESTDIR install
33 # build single precision
34 make clean
35 ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared \
36 $CONFIGURE_ARGS &&
37 make $MAKEFLAGS &&
38 make DESTDIR=$DESTDIR install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 cp -a $install/usr/lib/*so* $fs/usr/lib/
47 }