summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBogdan Pangrati <bogdan.pangrati@gmail.com>2011-07-28 08:58:19 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-28 08:58:19 -0300
commitb684be41a56fa1e2f3eddc195fcdb41f35018e78 (patch)
tree8d539f77695af118296ca511818cc13061ce4c0a
parentf733ee5c45705fbc28fa2e565ddee12aaf18bea2 (diff)
downloadslackbuilds-b684be41a56fa1e2f3eddc195fcdb41f35018e78.tar.gz
system/tmux: Updated for version 1.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
-rw-r--r--system/tmux/tmux.SlackBuild17
-rw-r--r--system/tmux/tmux.info6
2 files changed, 16 insertions, 7 deletions
diff --git a/system/tmux/tmux.SlackBuild b/system/tmux/tmux.SlackBuild
index b27c60967c..eb2fa15832 100644
--- a/system/tmux/tmux.SlackBuild
+++ b/system/tmux/tmux.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tmux
-VERSION=${VERSION:-1.4}
+VERSION=${VERSION:-1.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,10 +69,19 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-./configure
+./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib${LIBDIRSUFFIX} \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --mandir=/usr/man \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
+ --build=$ARCH-slackware-linux
-CFLAGS+="$SLKCFLAGS" \
-make
+sed -i "/^CFLAGS =/s|=|+=|" Makefile
+
+CFLAGS="$SLKCFLAGS" \
+ make
make install PREFIX=/usr DESTDIR=$PKG
diff --git a/system/tmux/tmux.info b/system/tmux/tmux.info
index 04921e88bc..e884116bbd 100644
--- a/system/tmux/tmux.info
+++ b/system/tmux/tmux.info
@@ -1,8 +1,8 @@
PRGNAM="tmux"
-VERSION="1.4"
+VERSION="1.5"
HOMEPAGE="http://sourceforge.net/projects/tmux"
-DOWNLOAD="http://downloads.sourceforge.net/tmux/tmux-1.4.tar.gz"
-MD5SUM="0bfc7dd9a5bab192406167589c716a21"
+DOWNLOAD="http://downloads.sourceforge.net/tmux/tmux-1.5.tar.gz"
+MD5SUM="3d4b683572af34e83bc8b183a8285263"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Bogdan Pangrati"