app-shells/hstr: EAPI 6 bump. Convert ebuild away from autotools-utils.eclass and...
authorPatrice Clement <monsieurp@gentoo.org>
Sun, 18 Dec 2016 17:46:28 +0000 (18:46 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 18 Dec 2016 17:52:00 +0000 (18:52 +0100)
Package-Manager: portage-2.3.0

app-shells/hstr/hstr-1.21-r1.ebuild [new file with mode: 0644]

diff --git a/app-shells/hstr/hstr-1.21-r1.ebuild b/app-shells/hstr/hstr-1.21-r1.ebuild
new file mode 100644 (file)
index 0000000..56d9087
--- /dev/null
@@ -0,0 +1,45 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools multilib-minimal
+
+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 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="
+       sys-libs/ncurses:0="
+
+DEPEND="
+       ${RDEPEND}
+       virtual/pkgconfig"
+
+DOCS=( CONFIGURATION.md README.md )
+
+src_prepare() {
+       default
+       sed \
+               -e 's:-O2::g' \
+               -i src/Makefile.am || die
+       eautoreconf
+}
+
+multilib_src_configure() {
+       ECONF_SOURCE="${S}" econf
+}
+
+src_compile() {
+       multilib-minimal_src_compile
+}
+
+src_install() {
+       multilib-minimal_src_install
+}