summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDane Smith <smitdane@gmail.com>2010-08-12 18:18:28 -0400
committerDane Smith <smitdane@gmail.com>2010-08-12 18:18:28 -0400
commitf1093ffb2ebdcae932649a7f668cab3bd5ee3964 (patch)
tree40094c7dab0415a07975db7bc829a27edea80439
parentTidied patch (diff)
downloadsmithdanea-f1093ffb2ebdcae932649a7f668cab3bd5ee3964.tar.gz
smithdanea-f1093ffb2ebdcae932649a7f668cab3bd5ee3964.tar.bz2
smithdanea-f1093ffb2ebdcae932649a7f668cab3bd5ee3964.zip
New ebuild for glimpse
-rw-r--r--app-misc/glimpse/ChangeLog10
-rw-r--r--app-misc/glimpse/Manifest4
-rw-r--r--app-misc/glimpse/glimpse-4.18.5.ebuild53
-rw-r--r--app-misc/glimpse/metadata.xml8
4 files changed, 75 insertions, 0 deletions
diff --git a/app-misc/glimpse/ChangeLog b/app-misc/glimpse/ChangeLog
new file mode 100644
index 0000000..37824fa
--- /dev/null
+++ b/app-misc/glimpse/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for app-misc/glimpse
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: $
+
+*glimpse-4.18.5 (12 Aug 2010)
+
+ 12 Aug 2010; Dane Smith (c1pher) <smithdanea@gmail.com>
+ +glimpse-4.18.5.ebuild, +metadata.xml:
+ Fix lack of LDFLAGS respect wrt bug 332463
+
diff --git a/app-misc/glimpse/Manifest b/app-misc/glimpse/Manifest
new file mode 100644
index 0000000..253ca2b
--- /dev/null
+++ b/app-misc/glimpse/Manifest
@@ -0,0 +1,4 @@
+DIST glimpse-4.18.5.tar.gz 402754 RMD160 12693f9fd4565fc795e43e32b0d318401cdadbe2 SHA1 929bfb03bcef29be313e5ec599ee640dd8ef7e70 SHA256 ef15d43db09d59fdce6d46343ac38a3d996924dfce3287ba63c76e6be93b70e1
+EBUILD glimpse-4.18.5.ebuild 1390 RMD160 9771c4020532ca9de073286c4b2e475a8bff38a1 SHA1 cd5f9afb2ad3699918c29eecada0e6c4882245ab SHA256 9f66eafffb563f668fa3bc2fad86771205466bfa0de46148a5c553e45d1a2006
+MISC ChangeLog 293 RMD160 d4ae3c64a9187f12f33c114330aeaa2f68cca130 SHA1 720e41cc88de3cb0ac91b151453d74ee5475f01c SHA256 f6c8d71fdd6421ddefbf54fe72a2bee83a89736d086fa77841e70e73197c4415
+MISC metadata.xml 236 RMD160 92f49f8275e75caf57b88a3172d5204eaa4e33ae SHA1 dd1a8550a514e55ab0ed6190ab4794bb090994f8 SHA256 56075995f83836ae824c7cb01931b98d6745f6d5a7764299c8262e801486b829
diff --git a/app-misc/glimpse/glimpse-4.18.5.ebuild b/app-misc/glimpse/glimpse-4.18.5.ebuild
new file mode 100644
index 0000000..2430a24
--- /dev/null
+++ b/app-misc/glimpse/glimpse-4.18.5.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/glimpse/glimpse-4.18.5.ebuild,v 1.13 2010/01/01 21:17:05 fauli Exp $
+
+inherit flag-o-matic eutils
+
+DESCRIPTION="A index/query system to search a large set of files quickly"
+HOMEPAGE="http://webglimpse.net/"
+SRC_URI="http://webglimpse.net/trial/${P}.tar.gz"
+
+LICENSE="glimpse"
+SLOT="0"
+KEYWORDS="alpha amd64 ia64 ~mips ppc ~ppc64 sparc x86 ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+IUSE="static"
+
+RDEPEND="!dev-libs/tre
+ !app-text/agrep"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i \
+ -e "s:CC=.*:CC=$(tc-getCC):" \
+ -e 's:-O3 -fomit-frame-pointer:$(OPTIMIZEFLAGS):' \
+ dynfilters/Makefile.in \
+ || die "removing -O3 failed"
+ sed -i \
+ -e '/^CFLAGS/s:$: $(OPTIMIZEFLAGS):' \
+ {agrep,compress,index}/Makefile.in \
+ Makefile.in \
+ libtemplate/{template,util}/Makefile.in \
+ || die "inserting OPTIMIZEFLAGS failed"
+ sed -i \
+ -e 's:$(mandir):&/man1/:' \
+ Makefile.in agrep/Makefile.in \
+ || die "adding man1 to man install dir failed"
+
+ sed -i \
+ -e ':^LDFLAGS:d' \
+ {agrep,compress,index}/Makefile.in \
+ || die "Remove the blanking of LDFLAGS failed"
+}
+
+src_compile() {
+ use static && append-ldflags -static
+
+ econf || die
+ emake -j1 OPTIMIZEFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ einstall || die
+}
diff --git a/app-misc/glimpse/metadata.xml b/app-misc/glimpse/metadata.xml
new file mode 100644
index 0000000..9f3fdee
--- /dev/null
+++ b/app-misc/glimpse/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>maintainer-needed@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>