diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2019-07-12 18:52:15 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2019-07-13 08:59:47 +0200 |
commit | 424ebe6bb56b8c6aca51f472910c5401ce210aa2 (patch) | |
tree | f9bf22ddd9ba89ec1166498e56a7f5e741c46980 /source/tcl | |
parent | 61ca076d7dd5bad5ceeaf9cb3fccd6d7f0db84ec (diff) | |
download | current-424ebe6bb56b8c6aca51f472910c5401ce210aa2.tar.gz |
Fri Jul 12 18:52:15 UTC 201920190712185215
a/kernel-firmware-20190712_d52556e-noarch-1.txz: Upgraded.
l/M2Crypto-0.35.2-x86_64-2.txz: Rebuilt.
Upgraded to typing-3.7.4.
l/pycurl-7.43.0.3-x86_64-1.txz: Upgraded.
tcl/tclx-8.4.2-x86_64-1.txz: Upgraded.
x/xauth-1.1-x86_64-1.txz: Upgraded.
Diffstat (limited to 'source/tcl')
-rwxr-xr-x | source/tcl/tclx/tclx.SlackBuild | 22 | ||||
-rw-r--r-- | source/tcl/tclx/tclx.url | 1 |
2 files changed, 12 insertions, 11 deletions
diff --git a/source/tcl/tclx/tclx.SlackBuild b/source/tcl/tclx/tclx.SlackBuild index d3580c02..e37dc909 100755 --- a/source/tcl/tclx/tclx.SlackBuild +++ b/source/tcl/tclx/tclx.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2006, 2007, 2008, 2009, 2013, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2006, 2007, 2008, 2009, 2013, 2018, 2019 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,9 +23,10 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=tclx -VERSION=${VERSION:-8.4.1} +VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} +BUILD=${BUILD:-1} + NUMJOBS=${NUMJOBS:-" -j$(expr $(nproc) + 1) "} -BUILD=${BUILD:-4} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -62,9 +63,9 @@ elif [ "$ARCH" = "x86_64" ]; then fi cd $TMP -rm -rf ${PKGNAM}8.? -tar xvf $CWD/${PKGNAM}$VERSION.tar.xz || exit 1 -cd ${PKGNAM}8.4 || exit 1 +rm -rf ${PKGNAM}-${VERSION} +tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1 +cd ${PKGNAM}-${VERSION} || exit 1 #zcat $CWD/tclx-8.4.configure.diff.gz | patch -p1 --verbose || exit 1 #zcat $CWD/tclx-8.4.gcc4.diff.gz | patch -p1 --verbose || exit 1 @@ -83,8 +84,8 @@ CPPFLAGS="-DUSE_INTERP_RESULT" \ ./configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --mandir=/usr/man \ --with-tcl=/usr/lib${LIBDIRSUFFIX} \ - --enable-tk=YES \ --enable-shared \ --enable-threads \ --enable-64bit \ @@ -95,8 +96,8 @@ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 ( cd $PKG/usr/lib${LIBDIRSUFFIX} - ln -sf tclx8.4/libtclx8.4.so . - ln -sf libtclx8.4.so libtclx.so + ln -sf tclx8.6/libtclx8.6.so . + ln -sf libtclx8.6.so libtclx.so ) # Strip binaries: @@ -121,7 +122,7 @@ fi # Add a documentation directory: mkdir -p $PKG/usr/doc/${PKGNAM}-$VERSION cp -a \ - ChangeLog README license.terms \ + ChangeLog README* license.terms \ $PKG/usr/doc/${PKGNAM}-$VERSION mkdir -p $PKG/install @@ -130,4 +131,3 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cd $PKG /sbin/makepkg -l y -c n $TMP/${PKGNAM}-$VERSION-$ARCH-$BUILD.txz - diff --git a/source/tcl/tclx/tclx.url b/source/tcl/tclx/tclx.url new file mode 100644 index 00000000..d4e3ac5b --- /dev/null +++ b/source/tcl/tclx/tclx.url @@ -0,0 +1 @@ +https://github.com/flightaware/tclx |