summaryrefslogtreecommitdiff
path: root/ham
diff options
context:
space:
mode:
authorGustavo Conrad <gus3963 gmail>2019-02-03 09:17:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-02-03 09:17:50 +0700
commit467963186d64300a60b0a8f45acd458bdb45dd75 (patch)
tree814467bdeb70ad4048609248fe77a1b69192c0ef /ham
parent8456407ac976e7f6190bd5b28239020d681afed2 (diff)
downloadslackbuilds-467963186d64300a60b0a8f45acd458bdb45dd75.tar.gz
ham/cqrlog: Updated for version 2.3.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'ham')
-rw-r--r--ham/cqrlog/cqrlog.SlackBuild17
-rw-r--r--ham/cqrlog/cqrlog.info8
2 files changed, 16 insertions, 9 deletions
diff --git a/ham/cqrlog/cqrlog.SlackBuild b/ham/cqrlog/cqrlog.SlackBuild
index 5770b0e1d4..1efae22e27 100644
--- a/ham/cqrlog/cqrlog.SlackBuild
+++ b/ham/cqrlog/cqrlog.SlackBuild
@@ -23,13 +23,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=cqrlog
-VERSION=${VERSION:-1.9.0}
+VERSION=${VERSION:-2.3.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -60,7 +60,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/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -69,6 +69,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+sed -i 's/--ws=gtk2 --pcp=$(tmpdir)\/.lazarus src/--lazarusdir=\/usr\/share\/lazarus --ws=gtk2 --pcp=$(tmpdir)\/.lazarus src/g' Makefile
+
+# fix runtime issue due to lazarus version, see https://www.cqrlog.com/node/2072
+cd tools
+./remove_unknown_properties
+
+cd ..
make
make install DESTDIR=$PKG
diff --git a/ham/cqrlog/cqrlog.info b/ham/cqrlog/cqrlog.info
index 5e5dc3920f..cc07b621c1 100644
--- a/ham/cqrlog/cqrlog.info
+++ b/ham/cqrlog/cqrlog.info
@@ -1,10 +1,10 @@
PRGNAM="cqrlog"
-VERSION="1.9.0"
+VERSION="2.3.0"
HOMEPAGE="https://www.cqrlog.com"
-DOWNLOAD="https://github.com/ok2cqr/cqrlog/archive/v1.9.0.tar.gz"
-MD5SUM="ad6bbc72b94baafbe0a681c0b86b85d4"
+DOWNLOAD="https://github.com/ok2cqr/cqrlog/archive/v2.3.0/cqrlog-2.3.0.tar.gz"
+MD5SUM="7c5b9982aa8c8f78773949906da822d8"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="lazarus tqsl xplanet hamlib"
-MAINTAINER="Gustavo Conrad - LU8WFY"
+MAINTAINER="Gustavo Conrad"
EMAIL="gus3963 gmail"