wok-next view fftw/receipt @ rev 18363
Up zstd (0.1.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 16 13:47:02 2015 +0200 (2015-09-16) |
parents | fcdd50638150 |
children | 827e7447f207 |
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 }