wok-current view fftw/receipt @ rev 15463
util-linux-mount-dev: fix deps
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Tue Nov 05 22:10:50 2013 +0100 (2013-11-05) |
parents | c3cde30d1a5b |
children | fcdd50638150 |
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.2.2"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
8 BUILD_DEPENDS="gfortran"
9 WEB_SITE="http://www.fftw.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS=""
14 # Rules to configure and make the package.
16 compile_rules() {
17 cd $src
19 # build double precision
20 ./configure F77=gfortran --prefix=/usr --enable-shared \
21 $CONFIGURE_ARGS &&
22 make $MAKEFLAGS &&
23 make DESTDIR=$DESTDIR install
25 # build long double precission
26 make clean
27 ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared \
28 $CONFIGURE_ARGS &&
29 make $MAKEFLAGS &&
30 make DESTDIR=$DESTDIR install
32 # build single precision
33 make clean
34 ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib $fs/usr/share
44 cp -a $_pkg/usr/bin $fs/usr
45 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
47 }