wok view fftw/receipt @ rev 6935
Up: sip to 4.11.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Oct 23 14:58:03 2010 +0000 (2010-10-23) |
parents | 45fa560b8c74 |
children | c3cde30d1a5b |
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 make -j 4 &&
22 make DESTDIR=$PWD/_pkg install
24 # build long double precission
25 make clean
26 ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared
27 make -j 4
28 make DESTDIR=$PWD/_pkg install
30 # build single precision
31 make clean
32 ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared
33 make -j 4
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
44 }