summaryrefslogtreecommitdiff
path: root/app-misc/logserial/logserial-0.4.2.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/logserial/logserial-0.4.2.ebuild')
-rw-r--r--app-misc/logserial/logserial-0.4.2.ebuild15
1 files changed, 6 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..62f267f92996 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,13 @@ IUSE=""
RDEPEND=""
DEPEND=""
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
-}
+PATCHES=( "${FILESDIR}/${P}-gentoo.patch" )
-src_compile() {
+src_configure() {
tc-export CC
- emake || die "emake failed"
}
src_install() {
- dobin logserial || die "dobin failed"
+ dobin logserial
dodoc CHANGELOG README
}