blob: b5479b261a582f720bf61dbf5d853306cf9569e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-plugins/gaim-encryption/gaim-encryption-2.31.ebuild,v 1.4 2004/10/03 15:57:12 weeve Exp $
inherit flag-o-matic eutils debug
DESCRIPTION="GAIM Encryption PlugIn"
HOMEPAGE="http://gaim-encryption.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc sparc ~mips ~alpha ~hppa amd64 ~ia64"
IUSE=""
DEPEND=">=net-im/gaim-1.0.0
dev-libs/nss"
src_compile() {
local myconf
NSS_LIB=/usr/lib
NSS_INC=/usr/include
myconf="${myconf} --with-nspr-includes=${NSS_INC}/nspr"
myconf="${myconf} --with-nss-includes=${NSS_INC}/nss"
myconf="${myconf} --with-nspr-libs=${NSS_LIB}"
myconf="${myconf} --with-nss-libs=${NSS_LIB}"
econf ${myconf} || die "Configuration failed"
einfo "Replacing -Os CFLAG with -O2"
replace-flags -Os -O2
emake || emake -j1 || die "Make failed"
}
src_install() {
einstall || die "Install failed"
dodoc CHANGELOG INSTALL NOTES README TODO VERSION WISHLIST
}
|