/[gentoo-x86]/media-sound/ecasound/ecasound-2.6.0.ebuild
Gentoo

Diff of /media-sound/ecasound/ecasound-2.6.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.6 Revision 1.7
1# Copyright 1999-2009 Gentoo Foundation 1# Copyright 1999-2010 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/ecasound/ecasound-2.6.0.ebuild,v 1.6 2009/08/01 06:24:06 ssuominen Exp $ 3# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.6.0.ebuild,v 1.7 2010/06/23 14:19:23 arfrever Exp $
4 4
5EAPI=2 5EAPI=3
6 6
7inherit eutils multilib python 7inherit eutils python
8 8
9DESCRIPTION="a package for multitrack audio processing" 9DESCRIPTION="a package for multitrack audio processing"
10HOMEPAGE="http://ecasound.seul.org/ecasound" 10HOMEPAGE="http://ecasound.seul.org/ecasound"
11SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz" 11SRC_URI="http://${PN}.seul.org/download/${P}.tar.gz"
12 12
32 32
33src_configure() { 33src_configure() {
34 local PYConf 34 local PYConf
35 35
36 if use python; then 36 if use python; then
37 python_version
38 PYConf="--enable-pyecasound=c 37 PYConf="--enable-pyecasound=c
39 --with-python-includes=/usr/include/python${PYVER} 38 --with-python-includes=$(python_get_includedir)
40 --with-python-modules=/usr/$(get_libdir)/python${PYVER}" 39 --with-python-modules=$(python_get_libdir)"
41 else 40 else
42 PYConf="$myconf --disable-pyecasound" 41 PYConf="$myconf --disable-pyecasound"
43 fi 42 fi
44 43
45 econf \ 44 econf \
65 use doc && dohtml Documentation/*.html 64 use doc && dohtml Documentation/*.html
66} 65}
67 66
68pkg_postinst() { 67pkg_postinst() {
69 if use python; then 68 if use python; then
70 ebegin "Byte-compiling ${CATEGORY}/${PF} python modules" 69 python_mod_optimize ecacontrol.py eci.py pyeca.py
71 python_version
72 local PYMODULE
73 for PYMODULE in ecacontrol.py pyeca.py eci.py; do
74 python_mod_compile /usr/$(get_libdir)/python${PYVER}/site-packages/${PYMODULE}
75 done
76 eend $?
77 fi 70 fi
78} 71}
79 72
80pkg_postrm() { 73pkg_postrm() {
81 python_mod_cleanup 74 if use python; then
75 python_mod_cleanup ecacontrol.py eci.py pyeca.py
76 fi
82} 77}

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

  ViewVC Help
Powered by ViewVC 1.1.20