diff options
Diffstat (limited to 'development/gr-osmosdr')
-rw-r--r-- | development/gr-osmosdr/gr-osmosdr.SlackBuild | 18 | ||||
-rw-r--r-- | development/gr-osmosdr/gr-osmosdr.info | 8 |
2 files changed, 18 insertions, 8 deletions
diff --git a/development/gr-osmosdr/gr-osmosdr.SlackBuild b/development/gr-osmosdr/gr-osmosdr.SlackBuild index 8ec9fc13df..6d4d116fd9 100644 --- a/development/gr-osmosdr/gr-osmosdr.SlackBuild +++ b/development/gr-osmosdr/gr-osmosdr.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for gr-osmosdr @@ -22,10 +22,13 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=gr-osmosdr -VERSION=${VERSION:-20170612} +VERSION=${VERSION:-20210128_a100eb0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in @@ -35,7 +38,14 @@ if [ -z "$ARCH" ]; then esac fi -CWD=$(pwd) +# If the variable PRINT_PACKAGE_NAME is set, then this script will report what +# the name of the created package would be, and then exit. This information +# could be useful to other scripts. +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} @@ -94,4 +104,4 @@ mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/development/gr-osmosdr/gr-osmosdr.info b/development/gr-osmosdr/gr-osmosdr.info index f9a951e99f..3b55cdc71a 100644 --- a/development/gr-osmosdr/gr-osmosdr.info +++ b/development/gr-osmosdr/gr-osmosdr.info @@ -1,10 +1,10 @@ PRGNAM="gr-osmosdr" -VERSION="20170612" +VERSION="20210128_a100eb0" HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR" -DOWNLOAD="https://master.dl.sourceforge.net/project/slackbuildsdirectlinks/gr-osmosdr/gr-osmosdr-20170612.tar.bz2" -MD5SUM="802f65fc6bbe975f4ddaabb7dcf9bfd8" +DOWNLOAD="http://mirror.slackware.hr/sources/gr-osmosdr/gr-osmosdr-20210128_a100eb0.tar.bz2" +MD5SUM="635037afeb620e61ae200d491f9df580" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="gnuradio python-cheetah" +REQUIRES="gnuradio" MAINTAINER="Panagiotis Nikolaou" EMAIL="hostmaster@slackonly.com" |