summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Bauman <bman@gentoo.org>2018-05-27 20:33:41 -0400
committerAaron Bauman <bman@gentoo.org>2018-05-28 19:01:55 -0400
commit7fa510fef68834db3e0ecf8514f81392d661605a (patch)
tree86926e06ac08e8055b50c67062f378acd77c1971 /media-sound/substract_wave
parentmedia-sound/streamripper: bump EAPI (diff)
downloadgentoo-7fa510fef68834db3e0ecf8514f81392d661605a.tar.gz
gentoo-7fa510fef68834db3e0ecf8514f81392d661605a.tar.bz2
gentoo-7fa510fef68834db3e0ecf8514f81392d661605a.zip
media-sound/substract_wave: bump EAPI and drop eutils
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'media-sound/substract_wave')
-rw-r--r--media-sound/substract_wave/substract_wave-0.3-r1.ebuild21
1 files changed, 9 insertions, 12 deletions
diff --git a/media-sound/substract_wave/substract_wave-0.3-r1.ebuild b/media-sound/substract_wave/substract_wave-0.3-r1.ebuild
index cd3e2c907b74..3ddefd3e9e07 100644
--- a/media-sound/substract_wave/substract_wave-0.3-r1.ebuild
+++ b/media-sound/substract_wave/substract_wave-0.3-r1.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=2
-inherit eutils toolchain-funcs
+EAPI=7
+inherit toolchain-funcs
DESCRIPTION="substracts 2 mono wave files from each other by a factor specified on the command line"
HOMEPAGE="http://panteltje.com/panteltje/dvd/"
@@ -13,17 +13,14 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-src_prepare() {
- epatch "${FILESDIR}"/${P}-Makefile.patch \
- "${FILESDIR}"/${P}-overflow.patch
-}
+PATCHES=(
+ "${FILESDIR}/${P}-Makefile.patch"
+ "${FILESDIR}/${P}-overflow.patch"
+)
+
+DOCS=( CHANGES mono-stereo.txt README )
src_compile() {
tc-export CC
emake || die "emake failed"
}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
- dodoc CHANGES mono-stereo.txt README
-}