wok-stable annotate fftw/receipt @ rev 7877
Up: yad (0.7.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 03 23:29:52 2011 +0100 (2011-01-03) |
parents | 45fa560b8c74 |
children | c3cde30d1a5b |
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 |
jozee@6823 | 20 ./configure F77=gfortran --prefix=/usr --enable-shared && |
slaxemulator@6841 | 21 make -j 4 && |
jozee@6823 | 22 make DESTDIR=$PWD/_pkg install |
jozee@6823 | 23 |
jozee@6823 | 24 # build long double precission |
jozee@6823 | 25 make clean |
jozee@6823 | 26 ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared |
slaxemulator@6841 | 27 make -j 4 |
jozee@6823 | 28 make DESTDIR=$PWD/_pkg install |
jozee@6823 | 29 |
jozee@6823 | 30 # build single precision |
jozee@6823 | 31 make clean |
jozee@6823 | 32 ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared |
slaxemulator@6841 | 33 make -j 4 |
jozee@6823 | 34 make DESTDIR=$PWD/_pkg install |
jozee@6823 | 35 } |
jozee@6823 | 36 |
jozee@6823 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6823 | 38 genpkg_rules() |
jozee@6823 | 39 { |
jozee@6823 | 40 mkdir -p $fs/usr/lib $fs/usr/share |
jozee@6823 | 41 cp -a $_pkg/usr/bin $fs/usr |
jozee@6823 | 42 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ |
jozee@6823 | 43 |
jozee@6823 | 44 } |