Magellan Linux

Contents of /trunk/core/fftw3/fftw3-3.1.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1591 - (show annotations) (download)
Tue May 12 08:48:42 2009 UTC (14 years, 11 months ago) by niro
File size: 1192 byte(s)
-moved to 'core'
1 # $Header: /magellan-cvs/smage/fftw3/fftw3-3.1.2-r2.smage2,v 1.1 2008/02/15 23:28:32 niro Exp $
2
3 PNAME="fftw3"
4 PVER="3.1.2"
5 PBUILD="r2"
6
7 PCATEGORIE="sci-libs"
8 STATE="unstable"
9
10 DESCRIPTION="FTW is a C subroutine library for computing the discrete Fourier transform (DFT)."
11 HOMEPAGE="http://www.fftw.org/"
12
13 DEPEND=">= virtual/glibc"
14
15 SRCFILE="${PNAME/3/}-${PVER}.tar.gz"
16 SRCDIR="${BUILDDIR}/${PNAME/3/}-${PVER}"
17
18 SRC_URI=(
19 http://www.fftw.org/${SRCFILE}
20 mirror://${PNAME}/${SRCFILE}
21 )
22
23 src_prepare()
24 {
25 munpack ${SRCFILE} || die
26 mv ${SRCDIR} ${SRCDIR}-single || die
27
28 munpack ${SRCFILE} || die
29 mv ${SRCDIR} ${SRCDIR}-double || die
30 }
31
32 src_compile()
33 {
34 cd ${SRCDIR}-single
35 mconfigure --enable-shared --enable-threads --enable-float || die
36 mmake || die
37
38 cd ${SRCDIR}-double
39 mconfigure --enable-shared --enable-threads || die
40 mmake || die
41 }
42
43 src_install ()
44 {
45 cd ${SRCDIR}-single
46 mmake DESTDIR=${BINDIR} install || die
47
48 cd ${SRCDIR}-double
49 mmake DESTDIR=${BINDIR} install || die
50
51 # there's a small bug in minstalldocs,
52 # so we move this dir back ${SRCDIR}
53 mv ${SRCDIR}-double ${SRCDIR} || die
54
55 minstalldocs AUTHORS CONVENTIONS COPYING COPYRIGHT ChangeLog NEWS README TODO || die
56 }

Properties

Name Value
svn:keywords Id