mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
ham/hackrf: Updated for version 2023.01.1, moved from development.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
cd8ca67a84
commit
a472b1fea6
5 changed files with 14 additions and 13 deletions
|
@ -1,10 +0,0 @@
|
|||
PRGNAM="hackrf"
|
||||
VERSION="20180430"
|
||||
HOMEPAGE="https://github.com/mossmann/hackrf"
|
||||
DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/hackrf/hackrf-20180430.tar.bz2"
|
||||
MD5SUM="dac360dca7f0e6896aaa4b7ba34af3a6"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Panagiotis Nikolaou"
|
||||
EMAIL="hostmaster@slackonly.com"
|
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for hackrf
|
||||
|
||||
# Copyright 2015-2018 Panagiotis Nikolaou, Culver City, CA
|
||||
# Copyright 2023 pyllyukko
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -25,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=hackrf
|
||||
VERSION=${VERSION:-20180430}
|
||||
VERSION=${VERSION:-2023.01.1}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -76,7 +77,7 @@ fi
|
|||
|
||||
cd $TMP
|
||||
rm -rf $PRGNAM-$VERSION
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.xz
|
||||
cd $PRGNAM-$VERSION
|
||||
chown -R root:root .
|
||||
find -L . \
|
||||
|
@ -104,7 +105,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 TRADEMARK COPYING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
cp -a CODE_OF_CONDUCT.md RELEASENOTES Readme.md COPYING $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
10
ham/hackrf/hackrf.info
Normal file
10
ham/hackrf/hackrf.info
Normal file
|
@ -0,0 +1,10 @@
|
|||
PRGNAM="hackrf"
|
||||
VERSION="2023.01.1"
|
||||
HOMEPAGE="https://github.com/mossmann/hackrf"
|
||||
DOWNLOAD="https://github.com/greatscottgadgets/hackrf/releases/download/v2023.01.1/hackrf-2023.01.1.tar.xz"
|
||||
MD5SUM="3f681b74fd1629c859a08b1946453fcd"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="pyllyukko"
|
||||
EMAIL="pyllyukko@maimed.org"
|
Loading…
Reference in a new issue