diff options
Diffstat (limited to 'system/tmux/tmux.SlackBuild')
-rw-r--r-- | system/tmux/tmux.SlackBuild | 17 |
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 |