diff options
author | Dave Woodfall <dave@slackbuilds.org> | 2022-08-06 02:18:52 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-08-06 20:16:12 +0700 |
commit | 496cd259195bd8f35d1f5822a267868602755ab1 (patch) | |
tree | afafaa971f13ca2f01c2421aa361d39033019ea8 /development/Mk4tcl/Mk4tcl.SlackBuild | |
parent | 75f148331308e8a8d6e2e3b8dc020b45adac28d0 (diff) |
development/Mk4tcl: Removed. Replaced by development/metakit.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/Mk4tcl/Mk4tcl.SlackBuild')
-rw-r--r-- | development/Mk4tcl/Mk4tcl.SlackBuild | 107 |
1 files changed, 0 insertions, 107 deletions
diff --git a/development/Mk4tcl/Mk4tcl.SlackBuild b/development/Mk4tcl/Mk4tcl.SlackBuild deleted file mode 100644 index efbf4016ea14..000000000000 --- a/development/Mk4tcl/Mk4tcl.SlackBuild +++ /dev/null @@ -1,107 +0,0 @@ -#!/bin/bash - -# Slackware build script for Mk4tcl - -# Written by Zbigniew Baniewski, <Zbigniew [dot] Baniewski [at] gmail [dot] com> - -cd $(dirname $0) ; CWD=$(pwd) - -PRGNAM=Mk4tcl -VERSION=${VERSION:-2.4.9.8} -BUILD=${BUILD:-1} -TAG=${TAG:-_SBo} -PKGTYPE=${PKGTYPE:-tgz} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - 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 -fi - -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf metakit -tar xvf $CWD/${VERSION}.tar.gz -cd metakit/tcl -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -cat $CWD/01-Makefile.patch | patch -p2 || exit - -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --build=$ARCH-slackware-linux - -make -make install DESTDIR=$PKG - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cd .. -cp -a demos doc examples $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -cd unix -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ -./configure \ - --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --build=$ARCH-slackware-linux - -make all -make install DESTDIR=$PKG - -cp demo dump myio $PKG/usr/bin - -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 - -cd .. - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE |