summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc')
-rw-r--r--app-misc/logserial/logserial-0.4.2.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/app-misc/logserial/logserial-0.4.2.ebuild b/app-misc/logserial/logserial-0.4.2.ebuild
index 393a5f4451e6..d61fa7564aef 100644
--- a/app-misc/logserial/logserial-0.4.2.ebuild
+++ b/app-misc/logserial/logserial-0.4.2.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2014 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=6
+inherit toolchain-funcs
DESCRIPTION="A tool for logging raw data from a serial device"
HOMEPAGE="http://www.gtlib.cc.gatech.edu/pub/Linux/system/serial/logserial-0.4.2.lsm"
@@ -16,16 +16,14 @@ IUSE=""
RDEPEND=""
DEPEND=""
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
+PATCHES=( "${FILESDIR}/${P}-gentoo.patch" )
src_compile() {
tc-export CC
- emake || die "emake failed"
+ emake
}
src_install() {
- dobin logserial || die "dobin failed"
- dodoc CHANGELOG README
+ dobin logserial
+ default
}