summaryrefslogtreecommitdiff
path: root/system/tmux/tmux.SlackBuild
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 /system/tmux/tmux.SlackBuild
parentf733ee5c45705fbc28fa2e565ddee12aaf18bea2 (diff)
downloadslackbuilds-b684be41a56fa1e2f3eddc195fcdb41f35018e78.tar.gz
system/tmux: Updated for version 1.5.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'system/tmux/tmux.SlackBuild')
-rw-r--r--system/tmux/tmux.SlackBuild17
1 files changed, 13 insertions, 4 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