wok-next view fftw/receipt @ rev 19949
sane-backends: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Oct 16 12:17:41 2017 +0200 (2017-10-16) |
parents | 70b446c3592a |
children | ab7c63b80420 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.3.6-pl2"
5 CATEGORY="multimedia"
6 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.fftw.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://www.fftw.org/$TARBALL"
14 BUILD_DEPENDS="gfortran"
16 # Rules to configure and make the package.
17 compile_rules() {
18 # build double precision
19 ./configure \
20 F77=gfortran \
21 --enable-shared \
22 $CONFIGURE_ARGS &&
23 make $MAKEFLAGS &&
24 make DESTDIR=$DESTDIR install
26 # build long double precission
27 make clean
28 ./configure \
29 F77=gfortran \
30 --enable-long-double \
31 --enable-shared \
32 $CONFIGURE_ARGS &&
33 make $MAKEFLAGS &&
34 make DESTDIR=$DESTDIR install
36 # build single precision
37 make clean
38 ./configure \
39 F77=gfortran \
40 --enable-float \
41 --enable-shared \
42 $CONFIGURE_ARGS &&
43 make $MAKEFLAGS &&
44 make DESTDIR=$DESTDIR install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 copy @std
51 }