summaryrefslogtreecommitdiff
path: root/app-shells/hstr
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-17 17:51:45 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-17 17:51:45 +0100
commit420eeee727d39d869d864caddb04a80dafda7160 (patch)
tree87f15d7467082dd92fce78a6cc2f56fa8d0774af /app-shells/hstr
parent0fdd4074ff3dc0c507a9867380a4f91250a0b610 (diff)
gentoo resync : 17.10.2017
Diffstat (limited to 'app-shells/hstr')
-rw-r--r--app-shells/hstr/Manifest3
-rw-r--r--app-shells/hstr/files/hstr-1.23-tinfo.patch11
-rw-r--r--app-shells/hstr/hstr-1.23.ebuild33
3 files changed, 47 insertions, 0 deletions
diff --git a/app-shells/hstr/Manifest b/app-shells/hstr/Manifest
index 24848a2496e9..7a4715fddeb4 100644
--- a/app-shells/hstr/Manifest
+++ b/app-shells/hstr/Manifest
@@ -1,4 +1,7 @@
+AUX hstr-1.23-tinfo.patch 481 SHA256 9a6d213e7252c4eeb4f249c15bf97755845bdf3e3eefc9db630c7c9eddbae9a4 SHA512 64c1e0a5b2ee28354f85563472dd301a9e45eb568fe74c0d601765ee25095650320b8f853c95280f294f323eec6b7f9a155c2a09a5fde2e52568d2c9809c1e91 WHIRLPOOL e10b05e823d5ea4078f7ddcb9a1d20c40b1ec4411343ce872c267d965efe73431d79cb0c90a874b81b13dba6d6df035a67c08b47f9e36da7a47b82cf03dd607c
DIST hstr-1.22.tar.gz 46487 SHA256 c4995e7041dc66e2118f83bd4c6c7f4cff5b4c493ca28bd7e4aef76edeff71ba SHA512 5f31434410963c236f4e0d1117f09849b0a391d4173924d9eb2b2ddb9977a8bcb5a0c9b2e01045b618d01dfbcebd9c5db41534cb6abbb024a3515d5994b442cd WHIRLPOOL 30c6e42c91eebbcf55d6e8d89921d0760e3bda8e84ece0e2ccc7ef6be51dae15806f3db434b79a3afa4e8a9ebe63462fa927cc305c7a8d89a5d0651aa342493e
+DIST hstr-1.23.tar.gz 47239 SHA256 f435b4fce473e966fe52d3c27ca9074df0925a236b01517ece022607b889af33 SHA512 234c72587d0492d788b1c001b5e53f74820790a9ebe670e8abd28cd82fc7db65996d54160e675055be54cab110686838fe6e36dbefe0fbef9175613633bc5910 WHIRLPOOL c5d247efe07ad84aa8a09a75366cf943a04ad92a340962dfe944e3e6b43da81e7d76653309982e79c2a58229b8f0f426d782642b538eb4983968184eada68738
EBUILD hstr-1.22-r1.ebuild 576 SHA256 ff0a28ba1f3ebef80b68740220b2670f2c7c836b35f3fc9c7dacc7894f4c48fd SHA512 f4ad8cff119c85dd88dd422fa0fedab0aaa0f054aaa5d87dc63309ee6f1223b7e8a6ef7c870b92925f27663e6901cb0624ce30419b6a8c7ce24acaebaa5e83f3 WHIRLPOOL 3aa273d43b37d5aa82c6393a78c6491fc4860a6c35ea586b730a511017ee8771699d3d12822a1864585646cc678e912cc15cbbfa9af8c945d18e4115b7fabd2a
+EBUILD hstr-1.23.ebuild 628 SHA256 fd43b85c154ff25c52868f9a5c1a759539489eb655942924d42c7b9b2eab785c SHA512 9a304d6fdcc2f4bfaf2220e20a78d3c66a78691bc5fd9960a35b93fdf983b30998f904144d5064247c6463767379c182fef9932329e4a5fae0f7b5a42a37a04c WHIRLPOOL 2278175126bea1656894402df44a21e6bdbb78c0c8eca159f958375dc8b9cd297d2e1caf4083fd3ee7b2b18802bf61ae8464067a208088efaab215f6cb825b59
MISC ChangeLog 3712 SHA256 5d2c53d011ccdb09d25131db3f0532a680cdd7508bee75ccbd00eab615a14163 SHA512 7a86fc361251bd8f96317a7c2342b64bee0acfbd6a66f90f65ec573a711894d8d12f948555dfcf57f2163d6421f0da1c1bb2dad2263e7a735185ee08db7866b9 WHIRLPOOL 93e427b083558eff0d02fe7f2de2556f035db89ffd9359b08ddd9d1154333958d9311b690f135031f696d6111b7b651c73030e4ad6fd115a7e8a3ac528d66be8
MISC metadata.xml 453 SHA256 2f9f38443be80130f444597b76b236123206ccddf8bf56653ad266858f39c63e SHA512 07997cef95d27c283b525f9a09d2762338c5bc8c2129904672cabf85e0d441ef7dc9b06608c0d38f0ae8d5d86e3fe8fc22bf8ebc7b29a81f8e9469436e62cf3e WHIRLPOOL 6b1db3b0a665c78622d524be8048b862991427199edca4151c6929e3dfbaed7ffd22f88ce7673d1562444f79884ae7de13aa9691740e9ce38a4d6750a5a3cbbe
diff --git a/app-shells/hstr/files/hstr-1.23-tinfo.patch b/app-shells/hstr/files/hstr-1.23-tinfo.patch
new file mode 100644
index 000000000000..85a4743c0e94
--- /dev/null
+++ b/app-shells/hstr/files/hstr-1.23-tinfo.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
++++ b/configure.ac
+@@ -76,7 +76,7 @@
+ AC_CHECK_LIB(m, cos, [], [AC_MSG_ERROR([Could not find m library])])
+ AC_CHECK_LIB(readline, using_history, [], [AC_MSG_ERROR([Could not find readline library])])
+ # ncurses might be linked in libtinfo
+-#AC_CHECK_LIB(tinfo, keypad, [], [AC_MSG_ERROR([Could not find tinfo library])])
++AC_SEARCH_LIBS(keypad, tinfo, [], [AC_MSG_ERROR([Could not find tinfo library])])
+
+ # Checks for header files.
+ AC_CHECK_HEADER(assert.h)
diff --git a/app-shells/hstr/hstr-1.23.ebuild b/app-shells/hstr/hstr-1.23.ebuild
new file mode 100644
index 000000000000..aa0d958ff0d8
--- /dev/null
+++ b/app-shells/hstr/hstr-1.23.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="Shell history suggest box"
+HOMEPAGE="https://github.com/dvorka/hstr http://www.mindforger.com"
+SRC_URI="https://github.com/dvorka/hstr/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+SLOT="0"
+LICENSE="Apache-2.0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="sys-libs/ncurses:0="
+
+DEPEND="
+ ${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS=( CONFIGURATION.md README.md )
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.23-tinfo.patch
+)
+
+src_prepare() {
+ default
+ sed \
+ -e 's:-O2::g' \
+ -i src/Makefile.am || die
+ eautoreconf
+}