diff options
Diffstat (limited to 'net-voip/telepathy-butterfly/telepathy-butterfly-0.5.0.ebuild')
-rw-r--r-- | net-voip/telepathy-butterfly/telepathy-butterfly-0.5.0.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/net-voip/telepathy-butterfly/telepathy-butterfly-0.5.0.ebuild b/net-voip/telepathy-butterfly/telepathy-butterfly-0.5.0.ebuild new file mode 100644 index 000000000000..bf77ec9ddba4 --- /dev/null +++ b/net-voip/telepathy-butterfly/telepathy-butterfly-0.5.0.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-voip/telepathy-butterfly/telepathy-butterfly-0.5.0.ebuild,v 1.1 2009/08/28 19:41:22 tester Exp $ + +NEED_PYTHON="2.4" + +inherit python multilib + +DESCRIPTION="An MSN connection manager for Telepathy" +HOMEPAGE="http://telepathy.freedesktop.org/releases/telepathy-butterfly/" +SRC_URI="http://telepathy.freedesktop.org/releases/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=dev-python/telepathy-python-0.15.10 + dev-python/papyon" + +DOCS="AUTHORS NEWS" + +src_compile() { + local myjobs=$(echo "$MAKEOPTS" | sed -n -e 's,.*\(-j[[:digit:]]\+\).*,\1,p') + ./waf --prefix=/usr \ + configure || die "./waf configure failed" + ./waf ${myjobs} build || die "./waf configure failed" +} + +src_install() { + ./waf \ + --destdir="${D}" \ + install || die "./waf install failed" + rm -f $(find "${D}" -name *.py[co]) + dodoc ${DOCS} +} + +pkg_postinst() { + python_version + python_mod_optimize \ + /usr/$(get_libdir)/python${PYVER}/site-packages/butterfly +} + +pkg_postrm() { + python_mod_cleanup +} |