diff options
Diffstat (limited to 'libraries/mathgl/mathgl.SlackBuild')
-rw-r--r-- | libraries/mathgl/mathgl.SlackBuild | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libraries/mathgl/mathgl.SlackBuild b/libraries/mathgl/mathgl.SlackBuild index b1682184d9cca..87dbc2451ae93 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 |