|
Lines 1-8
Link Here
|
| 1 |
# Copyright 1999-2009 Gentoo Foundation |
1 |
# Copyright 1999-2008 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.4.ebuild,v 1.4 2009/06/28 12:17:38 maekke Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/moosic/moosic-1.5.4.ebuild,v 1.2 2008/05/29 17:16:58 hawking Exp $ |
| 4 |
|
4 |
|
| 5 |
inherit distutils python multilib |
5 |
inherit bash-completion distutils python multilib |
| 6 |
|
6 |
|
| 7 |
DESCRIPTION="Moosic is a music player that focuses on easy playlist management" |
7 |
DESCRIPTION="Moosic is a music player that focuses on easy playlist management" |
| 8 |
HOMEPAGE="http://www.nanoo.org/~daniel/moosic" |
8 |
HOMEPAGE="http://www.nanoo.org/~daniel/moosic" |
|
Lines 26-33
Link Here
|
| 26 |
src_install() { |
26 |
src_install() { |
| 27 |
distutils_src_install |
27 |
distutils_src_install |
| 28 |
rm -rf "${D}"/usr/share/doc/${PN} |
28 |
rm -rf "${D}"/usr/share/doc/${PN} |
| 29 |
insinto /etc/bash_completion.d |
29 |
dobashcompletion examples/completion ${PN} |
| 30 |
newins examples/completion ${PN} |
|
|
| 31 |
dodoc doc/{Moosic_API.txt,moosic_hackers.txt,Todo} |
30 |
dodoc doc/{Moosic_API.txt,moosic_hackers.txt,Todo} |
| 32 |
dodoc examples/server_config |
31 |
dodoc examples/server_config |
| 33 |
use doc && dohtml doc/*.html |
32 |
use doc && dohtml doc/*.html |
|
Lines 36-41
Link Here
|
| 36 |
pkg_postinst() { |
35 |
pkg_postinst() { |
| 37 |
python_version |
36 |
python_version |
| 38 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages |
37 |
python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages |
|
|
38 |
bash-completion_pkg_postinst |
| 39 |
} |
39 |
} |
| 40 |
|
40 |
|
| 41 |
pkg_postrm() { |
41 |
pkg_postrm() { |