aboutsummaryrefslogtreecommitdiff
path: root/development/gnuradio/gnuradio.SlackBuild
diff options
context:
space:
mode:
authorPanagiotis Nikolaou <hostmaster@slackonly.com>2018-06-16 20:51:12 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2018-06-17 19:13:26 +0100
commit9c809c396fbcaef8641b2a5a28a4289a870e63b5 (patch)
tree6efd27f4830e8ef366c22a92abdf4c7cce7415d9 /development/gnuradio/gnuradio.SlackBuild
parent8ed89bc88fffcd9b98149771301261137fde0ff3 (diff)
development/gnuradio: Updated for version 3.7.13.2.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'development/gnuradio/gnuradio.SlackBuild')
-rw-r--r--development/gnuradio/gnuradio.SlackBuild18
1 files changed, 6 insertions, 12 deletions
diff --git a/development/gnuradio/gnuradio.SlackBuild b/development/gnuradio/gnuradio.SlackBuild
index b32e7457c6d5..0c395d8a0708 100644
--- a/development/gnuradio/gnuradio.SlackBuild
+++ b/development/gnuradio/gnuradio.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for gnuradio
# Copyright 2013 Georgi Kolev, Bulgaria
-# Copyright 2015, 2016, 2017 Panagiotis Nikolaou, Culver City, CA
+# Copyright 2015-2018 Panagiotis Nikolaou, Culver City, CA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,8 +24,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnuradio
-VERSION=${VERSION:-3.7.11}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-3.7.13.2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -61,7 +61,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -73,17 +73,11 @@ find -L . \
# install docs in the right place
sed -i "s|\${GR_DATA_DIR}/doc|doc|" CMakeLists.txt
-# Fix build with boost
-# https://github.com/gnuradio/volk/commit/e5fec2aaacc8a130bcff84f1f3bbd9718250f029
-patch -p1 < $CWD/cxx_abi.patch
-
-patch -p1 < $CWD/gnuradio-cppunit.patch
-
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
- -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS -std=c++11 -fpermissive" \
+ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \
-DLIB_SUFFIX=$LIBDIRSUFFIX \
@@ -98,7 +92,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a COPYING README README.hacking $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING README.md README.hacking CHANGELOG.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install