aboutsummaryrefslogtreecommitdiff
path: root/development/gnuradio/gnuradio.SlackBuild
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2021-12-06 00:37:56 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-12-10 08:37:43 +0700
commit08a797609e0b8f7143a065e2d7825861df47e34f (patch)
tree996d2ec907b5282f28244ca3f8f84379a0485519 /development/gnuradio/gnuradio.SlackBuild
parent4d70b66574f7e9ae81d986779c498c4c7caca89c (diff)
development/gnuradio: Updated for version 3.9.4.0.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/gnuradio/gnuradio.SlackBuild')
-rw-r--r--development/gnuradio/gnuradio.SlackBuild13
1 files changed, 6 insertions, 7 deletions
diff --git a/development/gnuradio/gnuradio.SlackBuild b/development/gnuradio/gnuradio.SlackBuild
index 68befbec1a84..1fe71f44abd6 100644
--- a/development/gnuradio/gnuradio.SlackBuild
+++ b/development/gnuradio/gnuradio.SlackBuild
@@ -4,6 +4,7 @@
# Copyright 2013 Georgi Kolev, Bulgaria
# Copyright 2015-2018 Panagiotis Nikolaou, Culver City, CA
+# Copyright 2021 Mario Preksavec, Zagreb, Croatia
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +27,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gnuradio
-VERSION=${VERSION:-3.7.13.2}
+VERSION=${VERSION:-3.9.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -71,7 +72,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -83,10 +84,6 @@ find -L . \
# install docs in the right place
sed -i "s|\${GR_DATA_DIR}/doc|doc|" CMakeLists.txt
-patch -p1 < $CWD/boost-1.70.0.patch
-patch -p1 < $CWD/boost-1.73.0.patch
-patch -p1 < $CWD/replace_boost_endian_check_with_cmake.patch
-
mkdir -p build
cd build
cmake \
@@ -106,7 +103,9 @@ 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.md README.hacking CHANGELOG.md $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a \
+ CHANGELOG.md CODE_OF_CONDUCT.md CONTRIBUTING.md COPYING DCO.txt README.md VERSIONING \
+ $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install