summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfirebird <firebird209@gmail.com>2013-12-02 08:43:39 +0700
committerErik Hanson <erik@slackbuilds.org>2013-12-14 10:53:02 -0600
commit7e571c795647cb0d8bf57dc954a21defccd867b5 (patch)
treec639558a005bfed7611286f75ec7349bef3f9ced
parent0132765958c9f231beb1f05389a1088ec26719be (diff)
downloadslackbuilds-7e571c795647cb0d8bf57dc954a21defccd867b5.tar.gz
network/weechat: Updated for version 0.4.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org> Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--network/weechat/weechat.SlackBuild36
-rw-r--r--network/weechat/weechat.info6
2 files changed, 30 insertions, 12 deletions
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=""