aboutsummaryrefslogtreecommitdiff
path: root/network/irssi_otr/irssi_otr.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/irssi_otr/irssi_otr.SlackBuild')
-rw-r--r--network/irssi_otr/irssi_otr.SlackBuild13
1 files changed, 9 insertions, 4 deletions
diff --git a/network/irssi_otr/irssi_otr.SlackBuild b/network/irssi_otr/irssi_otr.SlackBuild
index 9f10a9ca5c75..25fca7ce0e2c 100644
--- a/network/irssi_otr/irssi_otr.SlackBuild
+++ b/network/irssi_otr/irssi_otr.SlackBuild
@@ -15,8 +15,13 @@
# 20150907 bkw:
# - handle case where file was saved as v1.0.0.tar.gz
+# 20160727 bkw:
+# - updated for 1.0.1.
+# - use --with-irssi-module-dir now that it exists.
+# - add patch to deal with newer irssi's module ABI version check.
+
PRGNAM=irssi_otr
-VERSION=${VERSION:-1.0.0}
+VERSION=${VERSION:-1.0.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -64,14 +69,14 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# irssi module dir is hardcoded to lib.
-sed -i "/^IRSSI_MODULE_DIR/s,lib,lib$LIBDIRSUFFIX," configure.ac
+patch -p1 < $CWD/irssi_abi_check.diff
./bootstrap
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
+ --with-irssi-module-dir=/usr/lib$LIBDIRSUFFIX/irssi/modules \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
@@ -80,7 +85,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
-make
+make V=1
make install-strip DESTDIR=$PKG
# AUTHORS is a 0-byte placeholder.