app-editors/hexcurse: Bump to version 1.60.0
authorLars Wendler <polynomial-c@gentoo.org>
Tue, 1 Aug 2017 14:59:56 +0000 (16:59 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Tue, 1 Aug 2017 15:00:07 +0000 (17:00 +0200)
Package-Manager: Portage-2.3.6, Repoman-2.3.3
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
app-editors/hexcurse/Manifest
app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch [new file with mode: 0644]
app-editors/hexcurse/hexcurse-1.60.0.ebuild [new file with mode: 0644]
app-editors/hexcurse/metadata.xml

index 69ec25732b1e833999026706938e4878234f42dd..5ce4605e23e142705e4521ea9f1573d4a67dc458 100644 (file)
@@ -1 +1,2 @@
 DIST hexcurse-1.55.tar.gz 113512 SHA256 b8d589f80acfa590fddd60d9482cf6ba38b295bf785ae4e0aff37b5ab436cb16 SHA512 39f9eae0bb891bdfb702fb871b75c53d15acf6e74b3272b616f00303f444bfddced6fbe3041eb3769fa90fbc226dd584f5d84f7427b659e63f3b74511938a4a7 WHIRLPOOL ee8a5ac7db87db654db1486872687bd8c7dcea7b5376704522a16d58cc467a6ec5409dadacd2ddcb36fd30689268dec334f59cd5885a19b78e666a5ffb7befec
+DIST hexcurse-1.60.0.tar.gz 171904 SHA256 f6919e4a824ee354f003f0c42e4c4cef98a93aa7e3aa449caedd13f9a2db5530 SHA512 2301f10e9190922fc61cbbe3a834826ebf87bc5ece9191d368181e2336af240e68cbe46e3a60dee3e0e42281b2f05ae4a7060ee1083b37f4906eacc66e58a094 WHIRLPOOL 738961ef81afe56f36b3930e16b52f88fb98c5c8ffd026ec2d2dd155355365ec03996a023139400c0c22ccd902fbd4ab683237efee55198e6223515a405226e0
diff --git a/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch b/app-editors/hexcurse/files/hexcurse-1.60.0-tinfo.patch
new file mode 100644 (file)
index 0000000..e5e0fe0
--- /dev/null
@@ -0,0 +1,13 @@
+--- hexcurse-1.60.0/configure.ac
++++ hexcurse-1.60.0/configure.ac
+@@ -15,7 +15,9 @@
+ dnl Checks for libraries.
+ dnl Replace `main' with a function in -lncurses:
+-AC_CHECK_LIB(ncurses, initscr,,[AC_CHECK_LIB(curses, initscr,,[AC_MSG_ERROR([ncurses library not found])])])
++AC_CHECK_LIB(ncurses, initscr)
++AC_SEARCH_LIBS(initscr,curses)
++AC_SEARCH_LIBS(LINES,tinfo)
+ dnl Checks for header files.
+ AC_HEADER_STDC
diff --git a/app-editors/hexcurse/hexcurse-1.60.0.ebuild b/app-editors/hexcurse/hexcurse-1.60.0.ebuild
new file mode 100644 (file)
index 0000000..568f74e
--- /dev/null
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools
+
+DESCRIPTION="ncurses based hex editor"
+HOMEPAGE="https://github.com/LonnyGomes/hexcurse"
+SRC_URI="https://github.com/LonnyGomes/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+
+RDEPEND=">=sys-libs/ncurses-5.2:0="
+DEPEND="
+       ${RDEPEND}
+"
+
+PATCHES=(
+       "${FILESDIR}/${PN}-1.60.0-tinfo.patch"
+)
+
+src_prepare() {
+       default
+       eautoreconf
+}
+
+src_install() {
+       emake install DESTDIR="${D}"
+       dodoc AUTHORS ChangeLog NEWS README
+}
index b75e8cfaa4d271a5469dd583a5b9db9545202b4d..05c3859ddbaf5db03ef91b445cbadeee3f5dfc5f 100644 (file)
@@ -1,11 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-<maintainer type="project">
-       <email>base-system@gentoo.org</email>
-       <name>Gentoo Base System</name>
-</maintainer>
-<longdescription>
-A console-based hex editor for the *NIX platform which uses the ncurses library.
-</longdescription>
+       <maintainer type="project">
+               <email>base-system@gentoo.org</email>
+               <name>Gentoo Base System</name>
+       </maintainer>
+       <longdescription>
+               A console-based hex editor for the *NIX platform which uses the ncurses library.
+       </longdescription>
+       <upstream>
+               <remote-id type="github">LonnyGomes/hexcurse</remote-id>
+       </upstream>
 </pkgmetadata>