wok-current view fftw/receipt @ rev 16124
ARM: add aalib
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 23 22:40:07 2014 +0100 (2014-03-23) |
parents | 8e4c74abdf74 |
children | 70b446c3592a |
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.2.2"
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 }