Lines 2-11
Link Here
|
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/lash/lash-0.5.4-r1.ebuild,v 1.18 2013/02/25 08:04:11 ssuominen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/media-sound/lash/lash-0.5.4-r1.ebuild,v 1.18 2013/02/25 08:04:11 ssuominen Exp $ |
4 |
|
4 |
|
5 |
EAPI=4 |
5 |
EAPI=5 |
6 |
|
6 |
|
7 |
PYTHON_DEPEND="python? 2:2.6" |
7 |
PYTHON_DEPEND="python? 2:2.6" |
8 |
inherit autotools eutils python |
8 |
inherit autotools-multilib python |
9 |
|
9 |
|
10 |
DESCRIPTION="LASH Audio Session Handler" |
10 |
DESCRIPTION="LASH Audio Session Handler" |
11 |
HOMEPAGE="http://www.nongnu.org/lash/" |
11 |
HOMEPAGE="http://www.nongnu.org/lash/" |
Lines 26-32
Link Here
|
26 |
python? ( >=dev-lang/swig-1.3.40 )" |
26 |
python? ( >=dev-lang/swig-1.3.40 )" |
27 |
# doc? ( >=app-text/texi2html-5 ) |
27 |
# doc? ( >=app-text/texi2html-5 ) |
28 |
|
28 |
|
29 |
DOCS="AUTHORS ChangeLog NEWS README TODO" |
29 |
DOCS=(AUTHORS ChangeLog NEWS README TODO) |
30 |
|
30 |
|
31 |
pkg_setup() { |
31 |
pkg_setup() { |
32 |
if use python; then |
32 |
if use python; then |
Lines 56-71
Link Here
|
56 |
local myconf |
56 |
local myconf |
57 |
use python || myconf='--disable-pylash' |
57 |
use python || myconf='--disable-pylash' |
58 |
|
58 |
|
59 |
econf \ |
59 |
myeconfargs=( |
60 |
$(use_enable static-libs static) \ |
60 |
$(use_enable static-libs static) |
61 |
$(use_enable alsa alsa-midi) \ |
61 |
$(use_enable alsa alsa-midi) |
62 |
$(use_enable gtk gtk2) \ |
62 |
$(use_enable gtk gtk2) |
63 |
$(use_enable debug) \ |
63 |
$(use_enable debug) |
64 |
${myconf} |
64 |
${myconf} |
|
|
65 |
) |
66 |
|
67 |
autotools-multilib_src_configure |
65 |
} |
68 |
} |
66 |
|
69 |
|
67 |
src_install() { |
70 |
src_install() { |
68 |
default |
71 |
autotools-multilib_src_install |
69 |
dohtml docs/lash-manual-html-*/lash-manual.html |
72 |
dohtml docs/lash-manual-html-*/lash-manual.html |
70 |
prune_libtool_files --all # --all for _lash.la in python directory |
73 |
prune_libtool_files --all # --all for _lash.la in python directory |
71 |
} |
74 |
} |