wok annotate fftw/receipt @ rev 13806

Up: gimp-brushes
author Alexander Medvedev <devl547@gmail.com>
date Sun Jan 06 05:39:53 2013 +0300 (2013-01-06)
parents c3cde30d1a5b
children fcdd50638150
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 &&
gokhlayeh@11574 22 make $MAKEFLAGS &&
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 &&
gokhlayeh@11574 29 make $MAKEFLAGS &&
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 &&
gokhlayeh@11574 36 make $MAKEFLAGS &&
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 }