Lines 3-9
Link Here
|
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/ghh/ghh-9999.ebuild,v 1.6 2011/09/20 22:37:13 mgorny Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/dev-util/ghh/ghh-9999.ebuild,v 1.6 2011/09/20 22:37:13 mgorny Exp $ |
4 |
|
4 |
|
5 |
EAPI=3 |
5 |
EAPI=3 |
6 |
inherit autotools git-2 |
6 |
PYTHON_DEPEND="2:2.6" |
|
|
7 |
inherit autotools git-2 python |
7 |
|
8 |
|
8 |
DESCRIPTION="a tool to track the history and make backups of your home directory" |
9 |
DESCRIPTION="a tool to track the history and make backups of your home directory" |
9 |
HOMEPAGE="http://jean-francois.richard.name/ghh/" |
10 |
HOMEPAGE="http://jean-francois.richard.name/ghh/" |
Lines 15-20
Link Here
|
15 |
SLOT="0" |
16 |
SLOT="0" |
16 |
KEYWORDS="" |
17 |
KEYWORDS="" |
17 |
IUSE="" |
18 |
IUSE="" |
|
|
19 |
DOCS=( AUTHORS ChangeLog MAINTAINERS NEWS README TODO ) |
18 |
|
20 |
|
19 |
# probably needs more/less crap listed here ... |
21 |
# probably needs more/less crap listed here ... |
20 |
RDEPEND="x11-libs/gtk+:2 |
22 |
RDEPEND="x11-libs/gtk+:2 |
Lines 22-37
Link Here
|
22 |
gnome-base/libgnome |
24 |
gnome-base/libgnome |
23 |
app-text/gnome-doc-utils |
25 |
app-text/gnome-doc-utils |
24 |
>=app-text/asciidoc-8 |
26 |
>=app-text/asciidoc-8 |
25 |
dev-vcs/git |
27 |
dev-python/pygtk:2 |
26 |
dev-lang/python" |
28 |
dev-vcs/git" |
27 |
DEPEND="${RDEPEND} |
29 |
DEPEND="${RDEPEND} |
28 |
dev-util/pkgconfig" |
30 |
dev-util/pkgconfig" |
29 |
|
31 |
|
|
|
32 |
pkg_setup() { |
33 |
python_set_active_version 2 |
34 |
python_pkg_setup |
35 |
} |
36 |
|
30 |
src_prepare() { |
37 |
src_prepare() { |
31 |
NOCONFIGURE=yes git_src_prepare |
38 |
NOCONFIGURE=yes git_src_prepare |
32 |
} |
39 |
} |
33 |
|
40 |
|
34 |
src_install() { |
41 |
src_install() { |
35 |
emake install DESTDIR="${D}" || die |
42 |
emake install DESTDIR="${D}" || die |
36 |
dodoc AUTHORS ChangeLog MAINTAINERS NEWS README TODO |
43 |
dodoc ${DOCS[@]} |
|
|
44 |
python_convert_shebangs -r 2 "${ED}" |
37 |
} |
45 |
} |