# Patch managed by http://www.holgerschurig.de/patcher.html
#
---- Numeric-23.3/setup.py~no-lapack
-+++ Numeric-23.3/setup.py
-@@ -32,22 +32,22 @@
+--- Numeric-23.7/setup.py~nolapack
++++ Numeric-23.7/setup.py
+@@ -32,7 +32,7 @@
mathlibs = []
# delete all but the first one in this list if using your own LAPACK/BLAS
-sourcelist = [os.path.join('Src', 'lapack_litemodule.c'),
-+sourcelist = [] # os.path.join('Src', 'lapack_litemodule.c'),
- # os.path.join('Src', 'blas_lite.c'),
- # os.path.join('Src', 'f2c_lite.c'),
- # os.path.join('Src', 'zlapack_lite.c'),
- # os.path.join('Src', 'dlapack_lite.c')
-- ]
-+
++sourcelist = [
+ #os.path.join('Src', 'blas_lite.c'),
+ #os.path.join('Src', 'f2c_lite.c'),
+ #os.path.join('Src', 'zlapack_lite.c'),
+@@ -40,12 +40,12 @@
+ ]
# set these to use your own BLAS;
-library_dirs_list = ['/usr/lib/atlas']
-libraries_list = ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
-+library_dirs_list = [] # '/usr/lib/atlas']
-+libraries_list = [] # 'lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
- # if you also set `use_dotblas` (see below), you'll need:
- # ['lapack', 'cblas', 'f77blas', 'atlas', 'g2c']
++library_dirs_list = []
++libraries_list = []
# set to true (1), if you also want BLAS optimized matrixmultiply/dot/innerproduct
--use_dotblas = 1
--include_dirs = ['/usr/include/atlas'] # You may need to set this to find cblas.h
+-use_dotblas = 1
+-include_dirs = ['/usr/include/atlas']
+use_dotblas = 0
-+include_dirs = [] # '/usr/include/atlas'] # You may need to set this to find cblas.h
- # e.g. on UNIX using ATLAS this should be ['/usr/include/atlas']
-
- # The packages are split in this way to allow future optional inclusion
++include_dirs = []
+ # You may need to set this to find cblas.h
+ # e.g. on UNIX using ATLAS this should be ['/usr/include/atlas']
+ extra_link_args = []
+DESCRIPTION = "Qt Widget Extension for Technical Applications"
+SECTION = "libs"
+PRIORITY = "optional"
+MAINTAINER = "Michael 'Mickey' Lauer <mickey@Vanille.de>"
+LICENSE = "GPL"
+DEPENDS = "virtual/libqte2"
+PR = "r1"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tgz \
+ file://qt2-fix.patch;patch=1"
+
+inherit qmake
+
+EXTRA_QMAKEVARS_POST = "CONFIG-=thread"
+
+do_stage() {
+ oe_libinstall -so -C lib libqwt ${STAGING_LIBDIR}
+ cp -a include/* ${STAGING_INCDIR}
+}
+
+do_install() {
+ install -d ${D}/${libdir} \
+ ${D}/${includedir}
+ oe_libinstall -so -C lib libqwt ${D}/${libdir}
+ cp -a include/* ${D}/${includedir}
+}
+