summaryrefslogtreecommitdiffstats
path: root/ham/CubicSDR/CubicSDR.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'ham/CubicSDR/CubicSDR.SlackBuild')
-rw-r--r--ham/CubicSDR/CubicSDR.SlackBuild51
1 files changed, 2 insertions, 49 deletions
diff --git a/ham/CubicSDR/CubicSDR.SlackBuild b/ham/CubicSDR/CubicSDR.SlackBuild
index 627a5619df..a6427fbb37 100644
--- a/ham/CubicSDR/CubicSDR.SlackBuild
+++ b/ham/CubicSDR/CubicSDR.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for CubicSDR
-# Copyright 2020 Alan Aversa USA
+# Copyright 2022 Alan Aversa USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -25,8 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=CubicSDR
-VERSION=${VERSION:-d2f9333}
-HASH=${HASH:-d2f93335236ef37557057d7b71c46969bec14471}
+VERSION=${VERSION:-0.2.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -74,52 +73,7 @@ rm -rf $PRGNAM-$VERSION
mkdir $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
-# static wxWidgets
-
-STATICWXWIDGETS_DESTDIR=$TMP/$PRGNAM-$VERSION/wxWidgets-staticlib
-mkdir -p $STATICWXWIDGETS_DESTDIR
-
-VERWXWIDGETS=${VERWXWIDGETS:-3.1.3}
-
-tar xvf $CWD/wxWidgets-$VERWXWIDGETS.tar.bz2
-cd wxWidgets-$VERWXWIDGETS
- chown -R root:root .
- find -L . \
- \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-
- ./autogen.sh
-
- CFLAGS="$SLKCFLAGS" \
- CXXFLAGS="$SLKCFLAGS -std=c++0x" \
- ./configure \
- --with-opengl \
- --disable-shared \
- --enable-monolithic \
- --with-libjpeg \
- --with-libtiff \
- --with-libpng \
- --with-zlib \
- --disable-sdltest \
- --enable-unicode \
- --enable-display \
- --enable-propgrid \
- --disable-webkit \
- --disable-webview \
- --disable-webviewwebkit \
- --prefix="$STATICWXWIDGETS_DESTDIR"
-
- make
- make install
-
-cd ..
-
-# build CubicSDR
-
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-mv $PRGNAM-$HASH $PRGNAM-$VERSION
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -135,7 +89,6 @@ cd build
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
- -DwxWidgets_CONFIG_EXECUTABLE=$STATICWXWIDGETS_DESTDIR/bin/wx-config \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG