summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-05-27 20:01:15 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-28 19:01:55 -0400
commit17490461f48bf94409ccd112b742befc2722e455 (patch)
treeaad9935ad3b70614e18eee1c271df514e8f22a9d /media-sound/cvoicecontrol
parentmedia-libs/libpqstego: bump EAPI (diff)
downloadgentoo-17490461f48bf94409ccd112b742befc2722e455.tar.gz
gentoo-17490461f48bf94409ccd112b742befc2722e455.tar.bz2
gentoo-17490461f48bf94409ccd112b742befc2722e455.zip
media-sound/cvoicecontrol: bump EAPI
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-sound/cvoicecontrol')
-rw-r--r--media-sound/cvoicecontrol/cvoicecontrol-0.9_alpha-r1.ebuild14
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
}