wok-6.x annotate fftw/receipt @ rev 11122
Up: youtube-dl to 2011.10.19.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 26 20:08:01 2011 +0000 (2011-10-26) |
parents | db66e8b9b217 |
children | 8e4c74abdf74 |
rev | line source |
---|---|
jozee@6823 | 1 # SliTaz package receipt. |
jozee@6823 | 2 |
jozee@6823 | 3 PACKAGE="fftw" |
jozee@6823 | 4 VERSION="3.2.2" |
jozee@6823 | 5 CATEGORY="multimedia" |
jozee@6823 | 6 MAINTAINER="jozee@slitaz.org" |
jozee@6823 | 7 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)" |
jozee@6823 | 8 BUILD_DEPENDS="gfortran" |
jozee@6823 | 9 WEB_SITE="http://www.fftw.org/" |
jozee@6823 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@6823 | 11 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@6823 | 12 TAGS="" |
jozee@6823 | 13 |
jozee@6823 | 14 # Rules to configure and make the package. |
jozee@6823 | 15 |
jozee@6823 | 16 compile_rules() { |
jozee@6823 | 17 cd $src |
jozee@6823 | 18 |
jozee@6823 | 19 # build double precision |
slaxemulator@10330 | 20 ./configure F77=gfortran --prefix=/usr --enable-shared \ |
slaxemulator@10330 | 21 $CONFIGURE_ARGS && |
slaxemulator@6841 | 22 make -j 4 && |
slaxemulator@10330 | 23 make DESTDIR=$DESTDIR install |
jozee@6823 | 24 |
jozee@6823 | 25 # build long double precission |
jozee@6823 | 26 make clean |
slaxemulator@10330 | 27 ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared \ |
slaxemulator@10330 | 28 $CONFIGURE_ARGS && |
slaxemulator@10330 | 29 make -j 4 && |
slaxemulator@10330 | 30 make DESTDIR=$DESTDIR install |
jozee@6823 | 31 |
jozee@6823 | 32 # build single precision |
jozee@6823 | 33 make clean |
slaxemulator@10330 | 34 ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared \ |
slaxemulator@10330 | 35 $CONFIGURE_ARGS && |
slaxemulator@10330 | 36 make -j 4 && |
slaxemulator@10330 | 37 make DESTDIR=$DESTDIR install |
jozee@6823 | 38 } |
jozee@6823 | 39 |
jozee@6823 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6823 | 41 genpkg_rules() |
jozee@6823 | 42 { |
jozee@6823 | 43 mkdir -p $fs/usr/lib $fs/usr/share |
jozee@6823 | 44 cp -a $_pkg/usr/bin $fs/usr |
jozee@6823 | 45 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@6823 | 46 |
jozee@6823 | 47 } |