diff options
author | B. Watson <yalhcru@gmail.com> | 2016-07-27 02:43:33 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-08-13 07:22:55 +0700 |
commit | a1e310615835f1972488f442d068b76df04c3e47 (patch) | |
tree | e7721e72a7afd474e930510c6452fd32f6ec71e1 /network/irssi_otr/irssi_otr.SlackBuild | |
parent | 808480393e804d6ffcb304e70b1a30691d6e2d7b (diff) | |
download | slackbuilds-a1e310615835f1972488f442d068b76df04c3e47.tar.gz |
network/irssi_otr: Updated for version 1.0.1.
Diffstat (limited to 'network/irssi_otr/irssi_otr.SlackBuild')
-rw-r--r-- | network/irssi_otr/irssi_otr.SlackBuild | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/network/irssi_otr/irssi_otr.SlackBuild b/network/irssi_otr/irssi_otr.SlackBuild index 9f10a9ca5c..25fca7ce0e 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. |