Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=multilib.git;a=commitdiff;h=3f4a356be3d4653b88eb1113a1a10937d3bc2824

commit 3f4a356be3d4653b88eb1113a1a10937d3bc2824
Author: DeX77 <[email protected]>
Date:   Wed Nov 2 22:37:01 2016 +0100

fftw-3.3.5-4-x86_64

+ add cross32

diff --git a/source/lib/fftw/FrugalBuild b/source/lib/fftw/FrugalBuild
index 3e34f77..91edb3d 100644
--- a/source/lib/fftw/FrugalBuild
+++ b/source/lib/fftw/FrugalBuild
@@ -1,35 +1,43 @@
# Compiling time: 2.27 SBU
# Maintainer: DeX77 <[email protected]>
-# Contributor: crazy <[email protected]>
# Contributor: Janos Kovacs <[email protected]>

pkgname=fftw
pkgver=3.3.5
-pkgrel=2
+pkgrel=4
pkgdesc="C subroutine library for computing the Discrete Fourier Transform 
(DFT)"
url="http://www.fftw.org/";
license="GPL-2"
depends=('glibc>=2.24-4')
-archs=('i686' 'x86_64')
+archs=('x86_64')
groups=('lib')
up2date="Flasttar $url/download.html"
source=(http://www.fftw.org/$pkgname-$pkgver.tar.gz)
sha1sums=('875831a7ab87d278f21ac0c3453f12d5ee807da4')
+_F_cross32_simple_auto="yes"
+Fconfopts="    --enable-shared \
+               --enable-threads"
+Finclude cross32

build()
{
-        ## idea from gentoo
-        cd $Fsrcdir || Fdie
-        mv $pkgname-$pkgver $pkgname-$pkgver-single || Fdie
-        cp -pPR $pkgname-$pkgver-single $pkgname-$pkgver-double || Fdie
-        cp -pPR $pkgname-$pkgver-single $pkgname-$pkgver-longdouble || Fdie
-        ## single
-        cd $pkgname-$pkgver-single || Fdie
-        Fbuild --enable-shared --enable-threads --enable-float
-        cd ../$pkgname-$pkgver-double || Fdie
-        Fbuild --enable-shared --enable-threads
-        cd ../$pkgname-$pkgver-longdouble || Fdie
-        Fbuild --enable-shared --enable-threads --enable-long-double
+        Fcross32_common_build
+       Fexec make clean || Fdie
+       F32conftops="   --enable-float"
+       Fcross32_common_build
+       Fexec make clean || Fdie
+       F32conftops="   --enable-long-double"
+       Fcross32_common_build
+
+        Fcross32_delete_empty
+        Fsplit "${subpkgs[0]}" /\* ## everything else ignored only first one
+
+       Fbuild --enable-float
+       Fexec make clean || Fdie
+        Fbuild
+       Fexec make clean || Fdie
+        Fbuild --enable-long-double
+
Fln fftw3.h /usr/include/fftw.h
Fln fftw3.f /usr/include/fftw.f
}
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to