wok-6.x annotate fftw/receipt @ rev 23725
hplip: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Apr 30 16:01:51 2020 +0000 (2020-04-30) |
parents | 70b446c3592a |
children | 4af5a3ba8ed3 |
rev | line source |
---|---|
jozee@6823 | 1 # SliTaz package receipt. |
jozee@6823 | 2 |
jozee@6823 | 3 PACKAGE="fftw" |
Hans-G?nter@22722 | 4 VERSION="3.3.8" |
jozee@6823 | 5 CATEGORY="multimedia" |
jozee@6823 | 6 MAINTAINER="jozee@slitaz.org" |
pascal@15588 | 7 LICENSE="GPL2" |
Hans-G?nter@22722 | 8 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)." |
jozee@6823 | 9 WEB_SITE="http://www.fftw.org/" |
Hans-G?nter@22722 | 10 |
jozee@6823 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
jozee@6823 | 12 WGET_URL="$WEB_SITE/$TARBALL" |
Hans-G?nter@22722 | 13 |
Hans-G?nter@22722 | 14 BUILD_DEPENDS="gfortran" |
jozee@6823 | 15 |
jozee@6823 | 16 # Rules to configure and make the package. |
jozee@6823 | 17 |
Hans-G?nter@22722 | 18 compile_rules() |
Hans-G?nter@22722 | 19 { |
Hans-G?nter@22722 | 20 # build double precision |
Hans-G?nter@22722 | 21 ./configure \ |
Hans-G?nter@22722 | 22 F77=gfortran \ |
Hans-G?nter@22722 | 23 --prefix=/usr \ |
Hans-G?nter@22722 | 24 --enable-shared \ |
Hans-G?nter@22722 | 25 $CONFIGURE_ARGS && |
Hans-G?nter@22722 | 26 make $MAKEFLAGS && |
Hans-G?nter@22722 | 27 make DESTDIR=$DESTDIR install |
Hans-G?nter@22722 | 28 |
Hans-G?nter@22722 | 29 # build long double precission |
Hans-G?nter@22722 | 30 make clean |
Hans-G?nter@22722 | 31 ./configure \ |
Hans-G?nter@22722 | 32 F77=gfortran \ |
Hans-G?nter@22722 | 33 --prefix=/usr \ |
Hans-G?nter@22722 | 34 --enable-long-double \ |
Hans-G?nter@22722 | 35 --enable-shared \ |
Hans-G?nter@22722 | 36 $CONFIGURE_ARGS && |
Hans-G?nter@22722 | 37 make $MAKEFLAGS && |
Hans-G?nter@22722 | 38 make DESTDIR=$DESTDIR install |
Hans-G?nter@22722 | 39 |
Hans-G?nter@22722 | 40 # build single precision |
Hans-G?nter@22722 | 41 make clean |
Hans-G?nter@22722 | 42 ./configure \ |
Hans-G?nter@22722 | 43 F77=gfortran \ |
Hans-G?nter@22722 | 44 --prefix=/usr \ |
Hans-G?nter@22722 | 45 --enable-float \ |
Hans-G?nter@22722 | 46 --enable-shared \ |
Hans-G?nter@22722 | 47 $CONFIGURE_ARGS && |
Hans-G?nter@22722 | 48 make $MAKEFLAGS && |
Hans-G?nter@22722 | 49 make DESTDIR=$DESTDIR install |
jozee@6823 | 50 } |
jozee@6823 | 51 |
jozee@6823 | 52 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6823 | 53 genpkg_rules() |
jozee@6823 | 54 { |
Hans-G?nter@22722 | 55 mkdir -p $fs/usr/lib |
Hans-G?nter@22722 | 56 mkdir -p $fs/usr/share |
Hans-G?nter@22722 | 57 |
Hans-G?nter@22722 | 58 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22722 | 59 cp -a $install/usr/lib/*so* $fs/usr/lib |
jozee@6823 | 60 } |