summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-apps/the_silver_searcher/Manifest1
-rw-r--r--sys-apps/the_silver_searcher/the_silver_searcher-0.32.0.ebuild41
2 files changed, 42 insertions, 0 deletions
diff --git a/sys-apps/the_silver_searcher/Manifest b/sys-apps/the_silver_searcher/Manifest
index b95e397378a3..4e05fa9c8322 100644
--- a/sys-apps/the_silver_searcher/Manifest
+++ b/sys-apps/the_silver_searcher/Manifest
@@ -1 +1,2 @@
DIST the_silver_searcher-0.31.0.tar.gz 150102 SHA256 61bc827f4557d8108e91cdfc9ba31632e2568b26884c92426417f58135b37da8 SHA512 61629ee3b11462a978a03879c19cf327cd08d5e669136c85c8f217b5e5ad27f78058c62555f47ae58882451361e09cf8093c7d4f4c4eda160a78f755af50b092 WHIRLPOOL 843e9502a4dbbfb5a049b524b2a85156bc57b624e10c875d5438bb6641ea48edee818af3f473d254cb16f188c321c17bc3b6da69aaf0ff081f055c61209302e1
+DIST the_silver_searcher-0.32.0.tar.gz 152041 SHA256 c5b208572e5cfc8a3cf366e8eb337b0c673c2ffa90c1ad90dfdcbe78251ba4cc SHA512 c5664205844f17d7739742949524d42f7ff403884a1bb13b32c9a14bde76d5129259d26a782057adf340ea1afc0caa6bd7b51d59caf795937389ff88f3a373bc WHIRLPOOL 85b284bf928a4cf5e28014678f01450c1083f15b08837069c4d4097122c84122a558f6175789131198fb003715b7dc030b48957d76cb7e00624d499812ce065f
diff --git a/sys-apps/the_silver_searcher/the_silver_searcher-0.32.0.ebuild b/sys-apps/the_silver_searcher/the_silver_searcher-0.32.0.ebuild
new file mode 100644
index 000000000000..eb64cc5f2000
--- /dev/null
+++ b/sys-apps/the_silver_searcher/the_silver_searcher-0.32.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools bash-completion-r1
+
+DESCRIPTION="A code-searching tool similar to ack, but faster"
+HOMEPAGE="https://github.com/ggreer/the_silver_searcher"
+SRC_URI="https://github.com/ggreer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd"
+IUSE="lzma zlib"
+
+RDEPEND="dev-libs/libpcre
+ lzma? ( app-arch/xz-utils )
+ zlib? ( sys-libs/zlib )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+DOCS="README.md"
+
+src_prepare() {
+ sed -i '/^dist_bashcomp/d' Makefile.am || die
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable lzma) \
+ $(use_enable zlib)
+}
+
+src_install() {
+ default
+ newbashcomp ag.bashcomp.sh ag
+}