aboutsummaryrefslogtreecommitdiff
path: root/perl/MoarVM/MoarVM.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'perl/MoarVM/MoarVM.SlackBuild')
-rw-r--r--perl/MoarVM/MoarVM.SlackBuild36
1 files changed, 2 insertions, 34 deletions
diff --git a/perl/MoarVM/MoarVM.SlackBuild b/perl/MoarVM/MoarVM.SlackBuild
index 97b2920700..f7b8b7a17c 100644
--- a/perl/MoarVM/MoarVM.SlackBuild
+++ b/perl/MoarVM/MoarVM.SlackBuild
@@ -20,7 +20,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=MoarVM
-VERSION=${VERSION:-2024.12}
+VERSION=${VERSION:-2025.05}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -33,9 +33,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# 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
@@ -74,40 +71,11 @@ 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 {} \;
-if pkg-config --exists atomic_ops; then
- HAS_LIBATOMIC_OPS="--has-libatomic_ops"
-else
- echo "Warning: gc not installed"
-fi
-
-if pkg-config --exists libffi; then
- HAS_LIBFFI="--has-libffi"
-else
- echo "Warning: libffi not installed"
-fi
-
-if pkg-config --exists libtommath; then
- HAS_LIBTOMMATH="--has-libtommath"
-else
- echo "Warning: libtommath not installed"
-fi
-
-if pkg-config --exists libuv; then
- HAS_LIBUV="--has-libuv"
-else
- echo "Warning: libuv not installed"
-fi
-
perl Configure.pl \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
- --mastdir=/usr/share/nqp/lib/MAST \
- $HAS_LIBATOMIC_OPS \
- $HAS_LIBFFI \
- $HAS_LIBTOMMATH \
- $HAS_LIBUV
+ --mastdir=/usr/share/nqp/lib/MAST
-make
make install DESTDIR=$PKG PKGCONFIGDIR=/usr/lib$LIBDIRSUFFIX/pkgconfig
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \