blob: 8a1788c0ede409f29d7dc3d0fb985ddb8bdb55f7 (
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
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
inherit subversion eutils python
DESCRIPTION="A Python/GTK+ instant messenger for the Windows Live Messenger network"
HOMEPAGE="http://www.emesene.org"
LICENSE="GPL-2"
KEYWORDS="~x86"
SLOT="0"
IUSE=""
ESVN_REPO_URI="https://emesene.svn.sourceforge.net/svnroot/${PN}/trunk/${PN}"
ESVN_PROJECT="${PN}"
DEPEND=">=dev-lang/python-2.4.3
>=x11-libs/gtk+-2.10.14
>=dev-python/pygtk-2.12.1-r2"
src_install() {
dodir /usr/share/emesene || die 'dodir failed'
insinto /usr/share/emesene
doins -r ./* || die 'doins failed'
exeinto /usr/share/emesene
doexe emesene || die 'doexe failed'
dosym /usr/share/emesene/emesene /usr/bin/emesene || die 'dosym failed'
make_desktop_entry ${PN} "emesene" "/usr/share/emesene/themes/default/icon.png"
}
pkg_postinst() {
python_mod_optimize /usr/share/emesene
ewarn "This is a live ebuild"
ewarn "That means there are NO promises it will work."
}
pkg_postrm() {
python_mod_cleanup /usr/share/emesene
}
|