aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorMario Preksavec <mario@slackware.hr>2015-04-06 20:19:53 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-06 20:19:53 +0700
commitf685c66b74ffabd3b1191c1e94ddde328a393d4b (patch)
tree1cab54ebdfbb2f0fc0eb95113769743f1ccde930 /ham
parent4d3d7b846e55439948641a2023e743633249366c (diff)
ham/gqrx: Fix script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/gqrx/gqrx.SlackBuild12
-rw-r--r--ham/gqrx/slack-desc8
2 files changed, 12 insertions, 8 deletions
diff --git a/ham/gqrx/gqrx.SlackBuild b/ham/gqrx/gqrx.SlackBuild
index 6c1b2bfdfae34..29d39a956aad6 100644
--- a/ham/gqrx/gqrx.SlackBuild
+++ b/ham/gqrx/gqrx.SlackBuild
@@ -22,9 +22,11 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# Modified by Mario Preksavec <mario@slackware.hr>
+
PRGNAM=gqrx
VERSION=${VERSION:-2.3.2}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -77,15 +79,17 @@ qmake \
QMAKE_CFLAGS="$SLKCFLAGS" \
QMAKE_CXXFLAGS="$SLKCFLAGS" ..
make
-make install DESTDIR=$PKG
+
+# make install leaks, do it manually
+install -D -m 755 -p gqrx $PKG/usr/bin/gqrx
+
cd ..
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-cd $TMP/$PRGNAM-$VERSION
mkdir -p $PKG/usr/share/{applications,pixmaps}
-mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
+mkdir -p $PKG/usr/share/icons/hicolor/{16x16,32x32,48x48,64x64}/apps
install -m644 gqrx.desktop $PKG/usr/share/applications/gqrx.desktop
install -m644 icons/gqrx.svg $PKG/usr/share/pixmaps/gqrx.png
install -m644 icons/gqrx.svg \
diff --git a/ham/gqrx/slack-desc b/ham/gqrx/slack-desc
index 87ee326df8798..f5dec4255d202 100644
--- a/ham/gqrx/slack-desc
+++ b/ham/gqrx/slack-desc
@@ -8,12 +8,12 @@
|-----handy-ruler------------------------------------------------------|
gqrx: gqrx (software defined radio receiver)
gqrx:
-gqrx: Gqrx is a software defined radio receiver powered by the
+gqrx: Gqrx is a software defined radio receiver powered by the
gqrx: GNU Radio SDR framework and the Qt graphical toolkit.
gqrx: Gqrx supports many of the SDR hardware available,
gqrx: including Funcube Dongles, rtl-sdr, HackRF and USRP devices.
-gqrx:
+gqrx:
gqrx: homepage: http://gqrx.dk
-gqrx:
gqrx:
-gqrx:
+gqrx:
+gqrx: