wok rev 6823

Add fftw: mv from undigest
author Rohit Joshi <jozee@slitaz.org>
date Tue Oct 19 21:04:01 2010 -0400 (2010-10-19)
parents c6ae74b43fce
children fc9449a2e57e
files fftw-dev/receipt fftw/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/fftw-dev/receipt	Tue Oct 19 21:04:01 2010 -0400
     1.3 @@ -0,0 +1,20 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="fftw-dev"
     1.7 +VERSION="3.2.2"
     1.8 +CATEGORY="development"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="fftw devel files"
    1.11 +WEB_SITE="http://www.fftw.org/"
    1.12 +WGET_URL="$WEB_SITE/$TARBALL"
    1.13 +WANTED="fftw"
    1.14 +
    1.15 +
    1.16 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.17 +genpkg_rules()
    1.18 +{
    1.19 +	mkdir -p $fs/usr/lib
    1.20 +	cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
    1.21 +	cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
    1.22 +	cp -a $_pkg/usr/include $fs/usr
    1.23 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/fftw/receipt	Tue Oct 19 21:04:01 2010 -0400
     2.3 @@ -0,0 +1,44 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="fftw"
     2.7 +VERSION="3.2.2"
     2.8 +CATEGORY="multimedia"
     2.9 +MAINTAINER="jozee@slitaz.org"
    2.10 +SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
    2.11 +BUILD_DEPENDS="gfortran"
    2.12 +WEB_SITE="http://www.fftw.org/"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WGET_URL="$WEB_SITE/$TARBALL"
    2.15 +TAGS=""
    2.16 +
    2.17 +# Rules to configure and make the package.
    2.18 +
    2.19 +compile_rules() {
    2.20 +  cd $src
    2.21 +  
    2.22 +  # build double precision
    2.23 +  ./configure F77=gfortran --prefix=/usr --enable-shared &&
    2.24 +  make &&
    2.25 +  make DESTDIR=$PWD/_pkg install 
    2.26 + 
    2.27 +  # build long double precission
    2.28 +  make clean
    2.29 +  ./configure F77=gfortran --prefix=/usr --enable-long-double  --enable-shared 
    2.30 +  make 
    2.31 +  make DESTDIR=$PWD/_pkg install 
    2.32 +  
    2.33 +  # build single precision
    2.34 +  make clean
    2.35 +  ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared 
    2.36 +  make 
    2.37 +  make DESTDIR=$PWD/_pkg install 
    2.38 +}
    2.39 +	
    2.40 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.41 +genpkg_rules()
    2.42 +{
    2.43 +	mkdir -p $fs/usr/lib $fs/usr/share
    2.44 +	cp -a $_pkg/usr/bin $fs/usr
    2.45 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
    2.46 +	
    2.47 +}