| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-encryption/pidgin-encryption-3.0-r1.ebuild,v 1.7 2011/03/02 21:07:32 signals Exp $
|
| 4 |
|
| 5 |
EAPI="2"
|
| 6 |
|
| 7 |
inherit flag-o-matic eutils
|
| 8 |
|
| 9 |
DESCRIPTION="Pidgin IM Encryption PlugIn"
|
| 10 |
HOMEPAGE="http://pidgin-encrypt.sourceforge.net/"
|
| 11 |
SRC_URI="mirror://sourceforge/gaim-encryption/${P}.tar.gz"
|
| 12 |
|
| 13 |
LICENSE="GPL-2"
|
| 14 |
SLOT="0"
|
| 15 |
KEYWORDS="amd64 hppa ppc ~ppc64 sparc x86 ~x86-fbsd"
|
| 16 |
IUSE="nls"
|
| 17 |
|
| 18 |
RDEPEND="net-im/pidgin
|
| 19 |
x11-libs/gtk+:2
|
| 20 |
>=dev-libs/nss-3.11"
|
| 21 |
|
| 22 |
DEPEND="${RDEPEND}
|
| 23 |
virtual/pkgconfig"
|
| 24 |
|
| 25 |
src_prepare() {
|
| 26 |
epatch "${FILESDIR}/${P}-crash.patch"
|
| 27 |
}
|
| 28 |
|
| 29 |
src_configure() {
|
| 30 |
strip-flags
|
| 31 |
replace-flags -O? -O2
|
| 32 |
econf $(use_enable nls)
|
| 33 |
}
|
| 34 |
|
| 35 |
src_install() {
|
| 36 |
make install DESTDIR="${D}" || die "Install failed"
|
| 37 |
dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
|
| 38 |
}
|