# HG changeset patch # User Rohit Joshi # Date 1287536641 14400 # Node ID 45fa560b8c74118ad7047e762744f04a3fcd496e # Parent c6ae74b43fce12902dc571f7febbb09079080497 Add fftw: mv from undigest diff -r c6ae74b43fce -r 45fa560b8c74 fftw-dev/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fftw-dev/receipt Tue Oct 19 21:04:01 2010 -0400 @@ -0,0 +1,20 @@ +# SliTaz package receipt. + +PACKAGE="fftw-dev" +VERSION="3.2.2" +CATEGORY="development" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="fftw devel files" +WEB_SITE="http://www.fftw.org/" +WGET_URL="$WEB_SITE/$TARBALL" +WANTED="fftw" + + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + cp -a $_pkg/usr/lib/*.*a $fs/usr/lib + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib + cp -a $_pkg/usr/include $fs/usr +} diff -r c6ae74b43fce -r 45fa560b8c74 fftw/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fftw/receipt Tue Oct 19 21:04:01 2010 -0400 @@ -0,0 +1,44 @@ +# SliTaz package receipt. + +PACKAGE="fftw" +VERSION="3.2.2" +CATEGORY="multimedia" +MAINTAINER="jozee@slitaz.org" +SHORT_DESC="A library for computing the discrete Fourier transform (DFT)" +BUILD_DEPENDS="gfortran" +WEB_SITE="http://www.fftw.org/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="$WEB_SITE/$TARBALL" +TAGS="" + +# Rules to configure and make the package. + +compile_rules() { + cd $src + + # build double precision + ./configure F77=gfortran --prefix=/usr --enable-shared && + make && + make DESTDIR=$PWD/_pkg install + + # build long double precission + make clean + ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared + make + make DESTDIR=$PWD/_pkg install + + # build single precision + make clean + ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared + make + make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/lib/*so* $fs/usr/lib/ + +}