diff options
Diffstat (limited to 'media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild')
-rw-r--r-- | media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild index eb49302b044e..1ae69c38d01c 100644 --- a/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild +++ b/media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild @@ -1,8 +1,7 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -EAPI=2 -inherit eutils +EAPI=7 MY_P=${P/_/} @@ -17,15 +16,16 @@ IUSE="" S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}/${P}-gentoo-2.patch" ) + src_prepare() { - epatch "${FILESDIR}"/${P}-gentoo-2.patch + eapply_user sed -i -e "s/install-data-am: install-data-local/install-data-am:/" Makefile.in # Handle documentation with dohtml instead. sed -i -e "s:SUBDIRS = docs:#SUBDIRS = docs:" cvoicecontrol/Makefile.in } src_install () { - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS BUGS ChangeLog FAQ README - dohtml cvoicecontrol/docs/en/*.html + HTML_DOCS=( cvoicecontrol/docs/en/*.html ) + default } |