diff options
Diffstat (limited to 'source/a/dialog/dialog.SlackBuild')
-rwxr-xr-x | source/a/dialog/dialog.SlackBuild | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/source/a/dialog/dialog.SlackBuild b/source/a/dialog/dialog.SlackBuild index 87ded094..56047e67 100755 --- a/source/a/dialog/dialog.SlackBuild +++ b/source/a/dialog/dialog.SlackBuild @@ -22,8 +22,23 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=dialog -VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev)} -BUILD=${BUILD:-1} + +# Think twice (or more) before upgrading this - the latest versions completely +# destroy the careful formatting in the Slackware installer. While it's lost +# to history now for the most part, I was the original beta tester for dialog, +# which was created to support our installer. I even wrote the --infobox widget +# before the first release. While I appreciate the advances dialog has made in +# the years since then, I'm nnot about to quickly shoot myself in the foot again +# (think tar-1.13 ;-). If you are reading this and think that Slackware "needs" +# to have the latest dialog, I'm willing to listen to your rationale. However, +# unless it's been tested with the installer and every other script in Slackware +# that uses dialog and found to work, and you've already gotten any needed +# patches accepted upstream... well... I like this version. If it's got bugs, +# they aren't bugs that I'm running into often. +#VERSION=${VERSION:-$(echo $PKGNAM-*.tar.xz | rev | cut -f 3- -d . | cut -f 1,2 -d - | rev)} +VERSION=1.3-20170509 + +BUILD=${BUILD:-2} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -70,7 +85,7 @@ fi cd $TMP rm -rf ${PKGNAM}-${VERSION} -tar xvf $CWD/${PKGNAM}-$VERSION.tar.?z || exit 1 +tar xvf $CWD/${PKGNAM}-$VERSION.tar.xz || exit 1 cd ${PKGNAM}-$VERSION || exit 1 zcat $CWD/dialog.smaller.min.height.diff.gz | patch -p1 --verbose || exit 1 @@ -93,7 +108,7 @@ CFLAGS="$SLKCFLAGS" \ --enable-nls \ --with-ncursesw \ --enable-widec \ - --build=$ARCH-slackware-linux || exit 1 + --build=$ARCH-slackware-linux # Build and install: make -j4 || exit 1 |