aboutsummaryrefslogtreecommitdiff
path: root/development/harec
diff options
context:
space:
mode:
authorhenesy <henesy.dev@gmail.com>2024-11-17 07:57:49 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2024-11-20 07:59:50 +0700
commit8fb2046ca4f12f6b19d0e121ec2d9dc5b73916e7 (patch)
treeb78d68717724b958a5d505ace5938dddec0a9350 /development/harec
parent9f11f65998bf08b26e98e01a63407b0ced6946ea (diff)
development/harec: Upgrade to 0.24.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/harec')
-rw-r--r--development/harec/harec.SlackBuild30
-rw-r--r--development/harec/harec.info10
2 files changed, 23 insertions, 17 deletions
diff --git a/development/harec/harec.SlackBuild b/development/harec/harec.SlackBuild
index 8e565168f8d1f..8ac48f8c229bf 100644
--- a/development/harec/harec.SlackBuild
+++ b/development/harec/harec.SlackBuild
@@ -2,6 +2,7 @@
# Slackware build script for harec
+# Copyright 2024 Sean Hinchee
# Copyright 2023 Dave Gauer, http://ratfactor.com
# All rights reserved.
#
@@ -31,11 +32,11 @@ cd $(dirname $0) ; CWD=$(pwd)
# https://git.alpinelinux.org/aports/tree/community/harec/APKBUILD
#
PRGNAM=harec
-VERSION=${VERSION:-20230225}
+VERSION=${VERSION:-0.24.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
-COMMITVERSION=${COMMITVERSION:-b95dcfd0ca8d599c406415236329020fb31c72e4}
+COMMITVERSION=${COMMITVERSION:-aaf2f364c6d9fad452416c0385ccd296541d5661}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -95,16 +96,21 @@ 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 {} \;
-mkdir build
-cd build
-CFLAGS="$SLKCFLAGS" \
-CXXFLAGS="$SLKCFLAGS" \
-../configure \
- --prefix=/usr \
- --libdir=/usr/lib${LIBDIRSUFFIX} \
- --sysconfdir=/etc \
- --mandir=/usr/man
+#mkdir build
+#cd build
+#CFLAGS="$SLKCFLAGS" \
+#CXXFLAGS="$SLKCFLAGS" \
+#../configure \
+# --prefix=/usr \
+# --libdir=/usr/lib${LIBDIRSUFFIX} \
+# --sysconfdir=/etc \
+# --mandir=/usr/man
+
+cp configs/linux.mk config.mk
+
+sed -i -e 's|/usr/local|/usr|g' config.mk
+PREFIX=/usr \
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
make VERBOSE=1
@@ -114,12 +120,12 @@ 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
# back out of build directory
-cd ..
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
COPYING \
README.md \
+ MAINTAINERS \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/development/harec/harec.info b/development/harec/harec.info
index 1abd64a23b370..9760bce1719c0 100644
--- a/development/harec/harec.info
+++ b/development/harec/harec.info
@@ -1,10 +1,10 @@
PRGNAM="harec"
-VERSION="20230225"
+VERSION="0.24.2"
HOMEPAGE="https://harelang.org/"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://git.sr.ht/~sircmpwn/harec/archive/b95dcfd0ca8d599c406415236329020fb31c72e4.tar.gz"
-MD5SUM_x86_64="f2fe2f4f06e8bd991d29aaee80b0a256"
+DOWNLOAD_x86_64="https://git.sr.ht/~sircmpwn/harec/archive/aaf2f364c6d9fad452416c0385ccd296541d5661.tar.gz"
+MD5SUM_x86_64="84635dfbe0888f18a73799b744b56642"
REQUIRES="qbe"
-MAINTAINER="Dave Gauer"
-EMAIL="dave@ratfactor.com"
+MAINTAINER="Sean Hinchee"
+EMAIL="henesy.dev@gmail.com"