wok-6.x view fftw/receipt @ rev 11452

Add: suricata
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Dec 17 10:54:09 2011 +0100 (2011-12-17)
parents db66e8b9b217
children 8e4c74abdf74
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 -j 4 &&
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 -j 4 &&
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 -j 4 &&
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 }