wok-current annotate fftw/receipt @ rev 21483
updated mpfr and mpfr-dev (3.1.5 -> 4.0.2)
author | Hans-G?nter Theisgen |
---|---|
date | Wed May 01 10:09:51 2019 +0100 (2019-05-01) |
parents | fcdd50638150 |
children | 9e789569562a |
rev | line source |
---|---|
jozee@6823 | 1 # SliTaz package receipt. |
jozee@6823 | 2 |
jozee@6823 | 3 PACKAGE="fftw" |
paul@17687 | 4 VERSION="3.3.4" |
jozee@6823 | 5 CATEGORY="multimedia" |
jozee@6823 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15588 | 7 LICENSE="GPL2" |
jozee@6823 | 8 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)" |
jozee@6823 | 9 BUILD_DEPENDS="gfortran" |
jozee@6823 | 10 WEB_SITE="http://www.fftw.org/" |
jozee@6823 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@6823 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
jozee@6823 | 13 TAGS="" |
jozee@6823 | 14 |
jozee@6823 | 15 # Rules to configure and make the package. |
jozee@6823 | 16 |
jozee@6823 | 17 compile_rules() { |
jozee@6823 | 18 cd $src |
jozee@6823 | 19 |
jozee@6823 | 20 # build double precision |
slaxemulator@10330 | 21 ./configure F77=gfortran --prefix=/usr --enable-shared \ |
slaxemulator@10330 | 22 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 23 make $MAKEFLAGS && |
slaxemulator@10330 | 24 make DESTDIR=$DESTDIR install |
jozee@6823 | 25 |
jozee@6823 | 26 # build long double precission |
jozee@6823 | 27 make clean |
slaxemulator@10330 | 28 ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared \ |
slaxemulator@10330 | 29 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 30 make $MAKEFLAGS && |
slaxemulator@10330 | 31 make DESTDIR=$DESTDIR install |
jozee@6823 | 32 |
jozee@6823 | 33 # build single precision |
jozee@6823 | 34 make clean |
slaxemulator@10330 | 35 ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared \ |
slaxemulator@10330 | 36 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 37 make $MAKEFLAGS && |
slaxemulator@10330 | 38 make DESTDIR=$DESTDIR install |
jozee@6823 | 39 } |
jozee@6823 | 40 |
jozee@6823 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6823 | 42 genpkg_rules() |
jozee@6823 | 43 { |
jozee@6823 | 44 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@15588 | 45 cp -a $install/usr/bin $fs/usr |
pascal@15588 | 46 cp -a $install/usr/lib/*so* $fs/usr/lib/ |
jozee@6823 | 47 } |