diff options
Diffstat (limited to 'net-im/msnlib/msnlib-3.6.ebuild')
-rw-r--r-- | net-im/msnlib/msnlib-3.6.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-im/msnlib/msnlib-3.6.ebuild b/net-im/msnlib/msnlib-3.6.ebuild new file mode 100644 index 000000000000..433a0e2e4058 --- /dev/null +++ b/net-im/msnlib/msnlib-3.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-im/msnlib/msnlib-3.6.ebuild,v 1.1 2007/11/20 06:34:55 hawking Exp $ + +NEED_PYTHON=2.2.2 +inherit python multilib distutils + +DESCRIPTION="A Python MSN messenger protocol library and client" +HOMEPAGE="http://auriga.wearlab.de/~alb/msnlib/" +SRC_URI="http://auriga.wearlab.de/~alb/msnlib/files/${PV}/${P}.tar.bz2" + +LICENSE="OSL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="tk" + +pkg_setup() { + use tk && python_tkinter_exists +} + +src_install() { + distutils_src_install + + dodoc doc/* || die "dodoc failed." + dobin msn + dobin msnsetup + use tk && dobin utils/msntk + + insinto /usr/share/doc/${PF} + doins msnrc.sample +} + +pkg_postinst() { + local module + python_version + for module in msncb.py msnlib.py; do + python_mod_compile "${ROOT}"usr/$(get_libdir)/python${PYVER}/site-packages/${module} + done +} + +pkg_postrm() { + python_mod_cleanup +} |