summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2015-10-15 22:52:08 +1100
committerMichael Palimaka <kensington@gentoo.org>2015-10-15 22:52:42 +1100
commit59ff3d04dae1a5531ada5d2ece6fcd7cf76340bf (patch)
tree6ebc92d9e4afb3551d9c185ea2f1f73c13d60513 /net-irc
parentdev-ml/menhir: Remove old. (diff)
downloadgentoo-59ff3d04dae1a5531ada5d2ece6fcd7cf76340bf.tar.gz
gentoo-59ff3d04dae1a5531ada5d2ece6fcd7cf76340bf.tar.bz2
gentoo-59ff3d04dae1a5531ada5d2ece6fcd7cf76340bf.zip
net-irc/irssi-otr: fix multilib-strict
Gentoo-bug: 549524 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'net-irc')
-rw-r--r--net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild37
1 files changed, 37 insertions, 0 deletions
diff --git a/net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild b/net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild
new file mode 100644
index 000000000000..8c112205fe62
--- /dev/null
+++ b/net-irc/irssi-otr/irssi-otr-1.0.0-r1.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools-utils multilib
+
+DESCRIPTION="Off-The-Record messaging (OTR) for irssi"
+HOMEPAGE="https://github.com/cryptodotis/irssi-otr"
+SRC_URI="https://github.com/cryptodotis/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~sparc ~x86"
+IUSE=""
+
+# please note >=libotr-4.1.0 is required due to critical bugfix
+# d748757e581b74e7298df155ad49174cb914102b, see README.md
+RDEPEND="
+ >=dev-libs/glib-2.22.0:2
+ >=dev-libs/libgcrypt-1.2.0:0
+ >=net-libs/libotr-4.1.0
+ >=net-irc/irssi-0.8.15[perl]"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+AUTOTOOLS_AUTORECONF="yes"
+DOCS=( README.md )
+PATCHES=( "${FILESDIR}/${P}-cflags.patch" )
+
+src_prepare() {
+ autotools-utils_src_prepare
+
+ sed -i -e "s|/usr/lib/irssi/modules|/usr/$(get_libdir)/irssi/modules|" configure.ac || die
+}