wok-next annotate fftw/receipt @ rev 20142

vlc: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 11:06:02 2017 +0100 (2017-11-01)
parents 70b446c3592a
children ab7c63b80420
rev   line source
jozee@6823 1 # SliTaz package receipt.
jozee@6823 2
jozee@6823 3 PACKAGE="fftw"
al@19713 4 VERSION="3.3.6-pl2"
jozee@6823 5 CATEGORY="multimedia"
al@19713 6 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
jozee@6823 7 MAINTAINER="jozee@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
al@19713 9 WEB_SITE="http://www.fftw.org/"
al@19713 10
al@19713 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
al@19713 12 WGET_URL="http://www.fftw.org/$TARBALL"
al@19713 13
jozee@6823 14 BUILD_DEPENDS="gfortran"
jozee@6823 15
jozee@6823 16 # Rules to configure and make the package.
al@19713 17 compile_rules() {
al@19713 18 # build double precision
al@19713 19 ./configure \
al@19713 20 F77=gfortran \
al@19713 21 --enable-shared \
al@19713 22 $CONFIGURE_ARGS &&
al@19713 23 make $MAKEFLAGS &&
al@19713 24 make DESTDIR=$DESTDIR install
jozee@6823 25
al@19713 26 # build long double precission
al@19713 27 make clean
al@19713 28 ./configure \
al@19713 29 F77=gfortran \
al@19713 30 --enable-long-double \
al@19713 31 --enable-shared \
al@19713 32 $CONFIGURE_ARGS &&
al@19713 33 make $MAKEFLAGS &&
al@19713 34 make DESTDIR=$DESTDIR install
al@19713 35
al@19713 36 # build single precision
al@19713 37 make clean
al@19713 38 ./configure \
al@19713 39 F77=gfortran \
al@19713 40 --enable-float \
al@19713 41 --enable-shared \
al@19713 42 $CONFIGURE_ARGS &&
al@19713 43 make $MAKEFLAGS &&
al@19713 44 make DESTDIR=$DESTDIR install
jozee@6823 45 }
al@19713 46
jozee@6823 47 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6823 48 genpkg_rules()
jozee@6823 49 {
al@19713 50 copy @std
jozee@6823 51 }