Skip to content

Commit

Permalink
media-sound/cvoicecontrol: bump EAPI
Browse files Browse the repository at this point in the history
Package-Manager: Portage-2.3.40, Repoman-2.3.9
  • Loading branch information
FuzzyGophers committed May 28, 2018
1 parent e7f9540 commit 1749046
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild
Original file line number Diff line number Diff line change
@@ -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/_/}

Expand All @@ -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
}

0 comments on commit 1749046

Please sign in to comment.