commit: f2fd4dab1f2b1130386f927c6a80f5bf41c57bf8
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 19 18:45:39 2017 +0000
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Jan 19 18:45:46 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2fd4dab
app-text/lv: add slyfox to maintainers, update to EAPI=6
While at it added slot operator against ncurses library.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
app-text/lv/lv-4.51-r3.ebuild | 3 +-
.../lv/{lv-4.51-r3.ebuild => lv-4.51-r4.ebuild} | 32 ++++++++++++----------
app-text/lv/metadata.xml | 4 +++
3 files changed, 24 insertions(+), 15 deletions(-)
diff --git a/app-text/lv/lv-4.51-r3.ebuild b/app-text/lv/lv-4.51-r3.ebuild
index 3e07c7f..ed80541 100644
--- a/app-text/lv/lv-4.51-r3.ebuild
+++ b/app-text/lv/lv-4.51-r3.ebuild
@@ -28,7 +28,8 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-xz.diff
epatch "${FILESDIR}"/${P}-tinfo.patch
epatch "${FILESDIR}"/${P}-protos.patch
- cd "${S}"/src; eautoreconf
+ cd "${S}"/src
+ eautoreconf
}
src_configure() {
diff --git a/app-text/lv/lv-4.51-r3.ebuild b/app-text/lv/lv-4.51-r4.ebuild
similarity index 55%
copy from app-text/lv/lv-4.51-r3.ebuild
copy to app-text/lv/lv-4.51-r4.ebuild
index 3e07c7f..a17faa8 100644
--- a/app-text/lv/lv-4.51-r3.ebuild
+++ b/app-text/lv/lv-4.51-r4.ebuild
@@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="4"
+EAPI=6
inherit autotools eutils toolchain-funcs
@@ -14,21 +14,31 @@
SRC_URI="http://www.ff.iij4u.or.jp/~nrt/freeware/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm ia64 ppc ppc64 sh sparc x86 ~amd64-fbsd ~x86-fbsd
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd
~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos"
IUSE=""
-RDEPEND="sys-libs/ncurses
+RDEPEND="sys-libs/ncurses:0=
!app-editors/levee"
DEPEND="${RDEPEND}
dev-lang/perl"
+
S="${WORKDIR}/${MY_P}"
+DOCS=(README hello.sample)
+HTML_DOCS=(index.html relnote.html hello.sample.gif)
+
+PATCHES=(
+ "${FILESDIR}"/${P}-gentoo.patch
+ "${FILESDIR}"/${P}-xz.diff
+ "${FILESDIR}"/${P}-tinfo.patch
+ "${FILESDIR}"/${P}-protos.patch
+)
+
src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
- epatch "${FILESDIR}"/${P}-xz.diff
- epatch "${FILESDIR}"/${P}-tinfo.patch
- epatch "${FILESDIR}"/${P}-protos.patch
- cd "${S}"/src; eautoreconf
+ default
+
+ cd src
+ eautoreconf
}
src_configure() {
@@ -38,9 +48,3 @@ src_configure() {
src_compile() {
emake CC="$(tc-getCC)"
}
-
-src_install() {
- emake DESTDIR="${D}" install
- dodoc README hello.sample
- dohtml index.html relnote.html hello.sample.gif
-}
diff --git a/app-text/lv/metadata.xml b/app-text/lv/metadata.xml
index e1a49f4..44629a6 100644
--- a/app-text/lv/metadata.xml
+++ b/app-text/lv/metadata.xml
@@ -1,6 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
+ <maintainer type="person">
+ <email>[email protected]</email>
+ <name>Sergei Trofimovich</name>
+ </maintainer>
<maintainer type="project">
<email>[email protected]</email>
<name>Cjk</name>