| 1 |
fauli |
1.2 |
# Copyright 1999-2010 Gentoo Foundation
|
| 2 |
pva |
1.1 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
fauli |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/pidgin-encryption/pidgin-encryption-3.0-r1.ebuild,v 1.1 2009/12/19 13:42:30 pva Exp $
|
| 4 |
pva |
1.1 |
|
| 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 |
fauli |
1.2 |
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc x86 ~x86-fbsd"
|
| 16 |
pva |
1.1 |
IUSE="nls"
|
| 17 |
|
|
|
| 18 |
|
|
RDEPEND="net-im/pidgin
|
| 19 |
|
|
>=x11-libs/gtk+-2
|
| 20 |
|
|
>=dev-libs/nss-3.11"
|
| 21 |
|
|
|
| 22 |
|
|
DEPEND="${RDEPEND}
|
| 23 |
|
|
dev-util/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 |
|
|
}
|