aboutsummaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorAndrea Sacchetti Picchio <andrea dot sacchettipicchio at gmail dot com>2024-04-29 20:59:27 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-05-04 21:44:59 +0700
commit4eb3b7f9c55c56e7af4c8c69f5eb8ff90e084057 (patch)
treeecdad7c57fdc23e66f5b0d92646265c6e85ed09d /ham
parente53c8e13fb69b94df797c7c8fb882e923c6d0c6a (diff)
ham/sgp4: Updated for version 20240428.6a448b48.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/sgp4/sgp4.SlackBuild12
-rw-r--r--ham/sgp4/sgp4.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/ham/sgp4/sgp4.SlackBuild b/ham/sgp4/sgp4.SlackBuild
index a9f9bc2f4dca..cd3ac618cba8 100644
--- a/ham/sgp4/sgp4.SlackBuild
+++ b/ham/sgp4/sgp4.SlackBuild
@@ -25,11 +25,11 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=sgp4
-VERSION=${VERSION:-20231211.6a448b48}
-SRCVERSION=${SRCVERSION:-6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91}
+VERSION=${VERSION:-20240428.6a448b48}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
+NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -71,9 +71,9 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERSION
-unzip $CWD/$PRGNAM-$SRCVERSION.zip
-cd $PRGNAM-$SRCVERSION
+rm -rf $PRGNAM-${VERSION##*.}*
+tar xvf $CWD/$PRGNAM-${VERSION##*.}*.tar.gz
+cd $PRGNAM-${VERSION##*.}*
chown -R root:root .
find -L . \
@@ -91,7 +91,7 @@ cd build
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
-DMAN_INSTALL_DIR=/usr/man \
-DCMAKE_BUILD_TYPE=Release ..
- make
+ make $NUMJOBS
make install/strip DESTDIR=$PKG
cd ..
diff --git a/ham/sgp4/sgp4.info b/ham/sgp4/sgp4.info
index 4f1ce6b7ed91..460f8aaf3253 100644
--- a/ham/sgp4/sgp4.info
+++ b/ham/sgp4/sgp4.info
@@ -1,8 +1,8 @@
PRGNAM="sgp4"
-VERSION="20231211.6a448b48"
+VERSION="20240428.6a448b48"
HOMEPAGE="https://github.com/dnwrnr/sgp4/"
-DOWNLOAD="https://github.com/dnwrnr/sgp4/archive/6a448b48/sgp4-6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91.zip"
-MD5SUM="90b246600ec54eaeb35f414accc020d4"
+DOWNLOAD="https://github.com/dnwrnr/sgp4/archive/6a448b48/sgp4-6a448b4850e5fbf8c1ca03bb5f6013a9fdc1fd91.tar.gz"
+MD5SUM="795cfea39667e3348a5d664ff5415fb6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="serialDV"