Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 315099
Collapse All | Expand All

(-)ekg.orig/ekg-1.8_rc1-r1.ebuild (-10 / +7 lines)
Lines 2-9 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/net-im/ekg/ekg-1.8_rc1-r1.ebuild,v 1.1 2011/03/21 17:04:44 signals Exp $
3
# $Header: /var/cvsroot/gentoo-x86/net-im/ekg/ekg-1.8_rc1-r1.ebuild,v 1.1 2011/03/21 17:04:44 signals Exp $
4
4
5
EAPI=2
5
EAPI=4
6
inherit autotools eutils
6
inherit autotools eutils python
7
7
8
IUSE="gif gtk jpeg ncurses python readline spell ssl zlib"
8
IUSE="gif gtk jpeg ncurses python readline spell ssl zlib"
9
9
Lines 15-22 Link Here
15
LICENSE="GPL-2"
15
LICENSE="GPL-2"
16
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
16
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
17
17
18
S="${WORKDIR}/${P/_/}"
19
20
RDEPEND="net-libs/libgadu
18
RDEPEND="net-libs/libgadu
21
	ssl? ( >=dev-libs/openssl-0.9.6 )
19
	ssl? ( >=dev-libs/openssl-0.9.6 )
22
	ncurses? ( sys-libs/ncurses )
20
	ncurses? ( sys-libs/ncurses )
Lines 32-37 Link Here
32
	>=sys-devel/autoconf-2.50
30
	>=sys-devel/autoconf-2.50
33
	${RDEPEND}"
31
	${RDEPEND}"
34
32
33
pkg_setup() {
34
	python_pkg_setup
35
}
36
35
src_prepare() {
37
src_prepare() {
36
	epatch "${FILESDIR}/"${P}-gtkutil-button-decl.patch \
38
	epatch "${FILESDIR}/"${P}-gtkutil-button-decl.patch \
37
		"${FILESDIR}/"${P}-as-needed.patch \
39
		"${FILESDIR}/"${P}-as-needed.patch \
Lines 56-74 Link Here
56
		`use_with python` \
58
		`use_with python` \
57
		`use_with jpeg libjpeg` \
59
		`use_with jpeg libjpeg` \
58
		`use_with zlib` \
60
		`use_with zlib` \
59
		`use_with gif libgif` \
60
		`use_enable spell aspell` \
61
		`use_enable spell aspell` \
61
		`use_with ssl openssl` \
62
		`use_with ssl openssl` \
62
		`use_enable ssl openssl` \
63
		`use_enable ssl openssl` \
63
		`use_enable gtk ui-gtk` \
64
		`use_enable gtk ui-gtk` \
64
	|| die
65
}
66
65
67
src_compile() {
68
	emake || die
69
}
66
}
70
67
71
src_install() {
68
src_install() {
72
	make DESTDIR="${D}" install || die
69
	emake DESTDIR="${D}" install
73
	dodoc docs/{*.txt,ULOTKA,TODO,README,FAQ}
70
	dodoc docs/{*.txt,ULOTKA,TODO,README,FAQ}
74
}
71
}

Return to bug 315099