diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2021-05-17 19:12:54 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2021-05-18 08:59:55 +0200 |
commit | 9a7688d56afb84a4619a088de98ba78ac5f996b5 (patch) | |
tree | 09b28d8ce805faa027c0bf5063734185ea483ff7 /extra/source/fltk/fltk.SlackBuild | |
parent | af7419df40001d15bac45ff746d05b9f659146c5 (diff) | |
download | current-9a7688d56afb84a4619a088de98ba78ac5f996b5.tar.gz |
Mon May 17 19:12:54 UTC 202120210517191254
l/libusb-compat-0.1.7-x86_64-1.txz: Upgraded.
xap/mozilla-thunderbird-78.10.2-x86_64-1.txz: Upgraded.
This release contains security fixes and improvements.
For more information, see:
https://www.mozilla.org/en-US/thunderbird/78.10.2/releasenotes/
(* Security fix *)
extra/fltk/fltk-1.3.6-x86_64-1.txz: Upgraded.
Diffstat (limited to 'extra/source/fltk/fltk.SlackBuild')
-rwxr-xr-x | extra/source/fltk/fltk.SlackBuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/extra/source/fltk/fltk.SlackBuild b/extra/source/fltk/fltk.SlackBuild index bad81b3c..76d0aa5b 100755 --- a/extra/source/fltk/fltk.SlackBuild +++ b/extra/source/fltk/fltk.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2015, 2018 Patrick J. Volkerding, Sebeka, Minnesota, USA +# Copyright 2015, 2018, 2021 Patrick J. Volkerding, Sebeka, Minnesota, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,7 +23,8 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=fltk -VERSION=$(basename $(echo $PKGNAM-*.tar.lz | cut -f 2- -d -) -source.tar.lz) +SRCNAM=fltk-release +VERSION=${VERSION:-$(echo $SRCNAM-*.tar.?z | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -80,9 +81,9 @@ rm -rf $PKG mkdir -p $TMP $PKG cd $TMP -rm -rf $PKGNAM-$VERSION -tar xvf $CWD/$PKGNAM-${VERSION}-source.tar.lz || exit 1 -cd $PKGNAM-$VERSION || exit 1 +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-${VERSION}.tar.lz || exit 1 +cd $SRCNAM-$VERSION || exit 1 zcat $CWD/fltk.fltk-config.in.diff.gz | patch -p1 --verbose || exit 1 @@ -94,6 +95,13 @@ find . \ -exec chmod 644 {} \+ # Configure: +if [ ! -r configure ]; then + if [ -x ./autogen.sh ]; then + NOCONFIGURE=1 ./autogen.sh + else + autoreconf -vif + fi +fi CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ |