app-text/lv: add slyfox to maintainers, update to EAPI=6
authorSergei Trofimovich <slyfox@gentoo.org>
Thu, 19 Jan 2017 18:45:39 +0000 (18:45 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Thu, 19 Jan 2017 18:45:46 +0000 (18:45 +0000)
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
app-text/lv/lv-4.51-r4.ebuild [new file with mode: 0644]
app-text/lv/metadata.xml

index 3e07c7f656aaa52f3d768c7d529db3d2d4448d98..ed80541662d483e76c2ff4742a61b8aa0ca95dc4 100644 (file)
@@ -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-r4.ebuild b/app-text/lv/lv-4.51-r4.ebuild
new file mode 100644 (file)
index 0000000..a17faa8
--- /dev/null
@@ -0,0 +1,50 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools eutils toolchain-funcs
+
+MY_P="${PN}${PV//./}"
+
+DESCRIPTION="Powerful Multilingual File Viewer"
+HOMEPAGE="http://www.ff.iij4u.or.jp/~nrt/lv/"
+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"
+IUSE=""
+
+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() {
+       default
+
+       cd src
+       eautoreconf
+}
+
+src_configure() {
+       ECONF_SOURCE=src econf
+}
+
+src_compile() {
+       emake CC="$(tc-getCC)"
+}
index e1a49f498885809fa68430a67d65a8f2a65b1bba..44629a6d665c7c5220d80d3e689b4e260f8beae0 100644 (file)
@@ -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>slyfox@gentoo.org</email>
+    <name>Sergei Trofimovich</name>
+  </maintainer>
   <maintainer type="project">
     <email>cjk@gentoo.org</email>
     <name>Cjk</name>