diff options
-rw-r--r-- | libraries/mathgl/mathgl.SlackBuild | 13 | ||||
-rw-r--r-- | libraries/mathgl/mathgl.info | 8 |
2 files changed, 12 insertions, 9 deletions
diff --git a/libraries/mathgl/mathgl.SlackBuild b/libraries/mathgl/mathgl.SlackBuild index b1682184d9..87dbc2451a 100644 --- a/libraries/mathgl/mathgl.SlackBuild +++ b/libraries/mathgl/mathgl.SlackBuild @@ -16,7 +16,7 @@ # SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mathgl -VERSION=${VERSION:-2.0.3} +VERSION=${VERSION:-2.3.3} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -48,21 +48,21 @@ else fi # GSL support -if [[ ${GSL:-no} = "no" ]]; then +if [ ${GSL:-no} = "no" ]; then GSL_FLAG="NO" else GSL_FLAG="YES" fi # Octave support -if [[ ${OCTAVE:-no} = "no" ]]; then +if [ ${OCTAVE:-no} = "no" ]; then OCTAVE_FLAG="NO" else OCTAVE_FLAG="YES" fi -# Open MPI support -if [[ ${OPENMPI:-no} = "no" ]]; then +# OpenMPI support +if [ ${OPENMPI:-no} = "no" ]; then OPENMPI_FLAG="NO" else OPENMPI_FLAG="YES" @@ -88,6 +88,7 @@ cd build cmake -D CMAKE_C_FLAGS="$SLKCFLAGS" \ -D CMAKE_CXX_FLAGS="$SLKCFLAGS" \ -D CMAKE_INSTALL_PREFIX:PATH=/usr \ + -D MGL_LIB_INSTALL_DIR:STRING=lib$LIBDIRSUFFIX \ -D enable-doc:BOOL=OFF \ -D enable-double:BOOL=ON \ -D enable-gif:BOOL=ON \ @@ -100,9 +101,11 @@ cd build -D enable-mpi:BOOL=$OPENMPI_FLAG \ -D enable-python:BOOL=ON \ -D enable-pthread:BOOL=ON \ + -D enable-openmp:BOOL=OFF \ -D enable-octave:BOOL=$OCTAVE_FLAG \ -D enable-opengl:BOOL=ON \ -D enable-wx:BOOL=ON \ + -D enable-qt4:BOOL=ON \ -D CMAKE_BUILD_TYPE:STRING=$ARCH-slackware-linux .. -L make make install DESTDIR=$PKG diff --git a/libraries/mathgl/mathgl.info b/libraries/mathgl/mathgl.info index 44a7f2b8a2..df540155a2 100644 --- a/libraries/mathgl/mathgl.info +++ b/libraries/mathgl/mathgl.info @@ -1,10 +1,10 @@ PRGNAM="mathgl" -VERSION="2.0.3" +VERSION="2.3.3" HOMEPAGE="http://mathgl.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/mathgl/mathgl-2.0.3.tar.gz" -MD5SUM="37b7857594dd17306d34475afec87aa5" +DOWNLOAD="http://downloads.sourceforge.net/mathgl/mathgl-2.3.3.tar.gz" +MD5SUM="c37d6f42d4897675bf89fae635aa6868" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="wxPython" +REQUIRES="libharu wxPython" MAINTAINER="Jože Zobec" EMAIL="jozze.zepl@gmail.com" |