diff options
Diffstat (limited to 'media-sound/sonata/sonata-0.9.ebuild')
-rw-r--r-- | media-sound/sonata/sonata-0.9.ebuild | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/media-sound/sonata/sonata-0.9.ebuild b/media-sound/sonata/sonata-0.9.ebuild new file mode 100644 index 000000000000..13cf92263309 --- /dev/null +++ b/media-sound/sonata/sonata-0.9.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/sonata/sonata-0.9.ebuild,v 1.1 2006/11/27 02:55:37 ticho Exp $ + +inherit distutils + +DESCRIPTION="A lightweight music player for MPD, written in Python." +HOMEPAGE="http://sonata.berlios.de/" +SRC_URI="http://download.berlios.de/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +KEYWORDS="~amd64 ~x86" +SLOT="0" +IUSE="gnome" + +RDEPEND=">=virtual/python-2.4 + >=dev-python/pygtk-2.6 + gnome? ( dev-python/gnome-python-extras )" + +src_compile() { + distutils_src_compile +} + +src_install() { + distutils_src_install + dodoc COPYING CHANGELOG README TODO TRANSLATORS +} + +pkg_postinst() { + python_version + python_mod_optimize /usr/lib/python${PYVER}/site-packages +} + +pkg_postrm() { + python_version + python_mod_cleanup +} |