From 7e571c795647cb0d8bf57dc954a21defccd867b5 Mon Sep 17 00:00:00 2001 From: firebird Date: Mon, 2 Dec 2013 08:43:39 +0700 Subject: network/weechat: Updated for version 0.4.2. Signed-off-by: Willy Sudiarto Raharjo Signed-off-by: Robby Workman --- network/weechat/weechat.SlackBuild | 36 +++++++++++++++++++++++++++--------- network/weechat/weechat.info | 6 +++--- 2 files changed, 30 insertions(+), 12 deletions(-) (limited to 'network') diff --git a/network/weechat/weechat.SlackBuild b/network/weechat/weechat.SlackBuild index ca4660b5e1..423a99dd98 100644 --- a/network/weechat/weechat.SlackBuild +++ b/network/weechat/weechat.SlackBuild @@ -2,9 +2,27 @@ # Originally written by hollywoodb (hollywoodb@fastmail.fm) # Maintained by sero (firebird209 at gmail dot com) +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=weechat -VERSION=${VERSION:-0.4.1} +VERSION=${VERSION:-0.4.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -53,19 +71,19 @@ find -L . \ mkdir build cd build cmake \ - -DPREFIX=/usr \ - -DLIBDIR=/usr/lib${LIBDIRSUFFIX} \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_C_FLAGS="$SLKCFLAGS" \ - .. + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DMAN_INSTALL_DIR=/usr/man \ + -DENABLE_MAN=ON \ + -DCMAKE_BUILD_TYPE=Release .. make VERBOSE=1 make install DESTDIR=$PKG cd .. -# Make the binary and manpage required for this a bit more obvious -( cd $PKG/usr/bin ; ln -s weechat-curses weechat ) +# Weechat still doesn't honour MANDIR, so let's fix this here mv $PKG/usr/share/man $PKG/usr/man/ -( cd $PKG/usr/man/man1 ; ln -s weechat-curses.1 weechat.1 ) find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true diff --git a/network/weechat/weechat.info b/network/weechat/weechat.info index 3649e9219f..3c70ef467b 100644 --- a/network/weechat/weechat.info +++ b/network/weechat/weechat.info @@ -1,8 +1,8 @@ PRGNAM="weechat" -VERSION="0.4.1" +VERSION="0.4.2" HOMEPAGE="http://www.weechat.org" -DOWNLOAD="http://www.weechat.org/files/src/weechat-0.4.1.tar.bz2" -MD5SUM="071d6f1cd21c892cae126af21095c43f" +DOWNLOAD="http://www.weechat.org/files/src/weechat-0.4.2.tar.bz2" +MD5SUM="fbbb4c319474d4a3b123fea7e8402fa2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3