aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorB. Watson <urchlay@slackware.uk>2022-05-17 10:46:55 -0400
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-05-28 09:11:25 +0700
commit8575d9de18d0a744eec5ff4df9cedbb5e8ffaf2e (patch)
treeffa58a00ca1989f78020c8cd12b78cac91e9e045
parentf9981feb4251aef3023cd63d88be96c28a692a15 (diff)
development/squeak-vm: Fix download URL.
Signed-off-by: B. Watson <urchlay@slackware.uk> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--development/squeak-vm/README7
-rw-r--r--development/squeak-vm/squeak-vm.SlackBuild14
-rw-r--r--development/squeak-vm/squeak-vm.info2
3 files changed, 13 insertions, 10 deletions
diff --git a/development/squeak-vm/README b/development/squeak-vm/README
index 7d4e71772269..b61852d0b851 100644
--- a/development/squeak-vm/README
+++ b/development/squeak-vm/README
@@ -5,9 +5,6 @@ Smalltalk-80 system.
Squeak has very powerful 2- and 3-D graphics, sound, video, MIDI,
animation and other multimedia capabilities.
-Optional dependency: speex
-
-NOTE:
-This script only build the VM.
-You may need to download the images manually via download page:
+NOTE: This script only builds the VM.
+You may need to download the images manually from the download page:
http://squeakvm.org/unix/download.html
diff --git a/development/squeak-vm/squeak-vm.SlackBuild b/development/squeak-vm/squeak-vm.SlackBuild
index 0ca748257045..7bb0dd32f2ab 100644
--- a/development/squeak-vm/squeak-vm.SlackBuild
+++ b/development/squeak-vm/squeak-vm.SlackBuild
@@ -23,12 +23,17 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220517 bkw: Modified by SlackBuilds.org, BUILD=2:
+# - DO NOT use ${VERSION} in DOWNLOAD, in the .info file. Seriously.
+# - fix doc ownership.
+# - minor grammar fix in README.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=squeak-vm
SRCNAM=Squeak
VERSION=${VERSION:-4.19.9.3816}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -72,6 +77,9 @@ cd $TMP
rm -rf $SRCNAM-$VERSION-src
tar xvf $CWD/$SRCNAM-$VERSION-src.tar.gz
cd $SRCNAM-$VERSION-src
+chown -R root:root .
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
cd platforms
# Fix location of libraries (as --libdir does not work)
@@ -103,9 +111,7 @@ cd ..
mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/* $PKG/usr/man/
rm -rf $PKG/usr/share/
-
-find $PKG/usr/man -type f -exec gzip -9 {} \;
-for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+gzip -9 $PKG/usr/man/man*/*
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/development/squeak-vm/squeak-vm.info b/development/squeak-vm/squeak-vm.info
index 7fb7a15e8a6d..cf425a849c91 100644
--- a/development/squeak-vm/squeak-vm.info
+++ b/development/squeak-vm/squeak-vm.info
@@ -1,7 +1,7 @@
PRGNAM="squeak-vm"
VERSION="4.19.9.3816"
HOMEPAGE="http://squeakvm.org/"
-DOWNLOAD="https://sourceforge.net/projects/solaris-squeak/files/Squeak-${VERSION}-src.tar.gz"
+DOWNLOAD="https://sourceforge.net/projects/solaris-squeak/files/Squeak-4.19.9.3816-src.tar.gz"
MD5SUM="972e1236a131846fee8b00b7d392ccb4"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""