blob: ff2e259a27861936108f2df7a4d3b4f2e29b2b98 [file] [log] [blame]
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-irc/irssi-otr/irssi-otr-0.2.ebuild,v 1.5 2009/10/21 15:40:56 maekke Exp $
inherit cmake-utils eutils
DESCRIPTION="Off-The-Record messaging (OTR) for irssi"
HOMEPAGE="http://irssi-otr.tuxfamily.org"
# This should probably be exported by cmake-utils as a variable
CMAKE_BINARY_DIR="${WORKDIR}"/${PN}_build
mycmakeargs="-DDOCDIR=/usr/share/doc/${PF}"
SRC_URI="ftp://download.tuxfamily.org/irssiotr/${PF}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~sparc x86"
IUSE="debug"
RDEPEND="net-libs/libotr
|| (
net-irc/irssi
net-irc/irssi-svn
)"
DEPEND="${RDEPEND}
dev-libs/glib
>=dev-util/cmake-2.4.7
dev-util/pkgconfig
dev-lang/python"
src_install() {
cmake-utils_src_install
rm "${D}"/usr/share/doc/${PF}/LICENSE
prepalldocs
}