summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaleb Tennis <caleb@gentoo.org>2008-04-04 12:04:57 +0000
committerCaleb Tennis <caleb@gentoo.org>2008-04-04 12:04:57 +0000
commit54aabbcf3f013381d0c5b844ae2cbdbfb2bea64d (patch)
tree1017d47b043aca0218fedbd53b6e252d11a31427 /app-misc/sphinx
parentStable on alpha, bug #216151 (diff)
downloadgentoo-2-54aabbcf3f013381d0c5b844ae2cbdbfb2bea64d.tar.gz
gentoo-2-54aabbcf3f013381d0c5b844ae2cbdbfb2bea64d.tar.bz2
gentoo-2-54aabbcf3f013381d0c5b844ae2cbdbfb2bea64d.zip
version bump
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-misc/sphinx')
-rw-r--r--app-misc/sphinx/ChangeLog7
-rw-r--r--app-misc/sphinx/sphinx-0.9.8_rc2.ebuild50
2 files changed, 56 insertions, 1 deletions
diff --git a/app-misc/sphinx/ChangeLog b/app-misc/sphinx/ChangeLog
index 60ac49bb12c4..19079a97f805 100644
--- a/app-misc/sphinx/ChangeLog
+++ b/app-misc/sphinx/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/sphinx
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.4 2008/03/26 14:08:56 caleb Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/ChangeLog,v 1.5 2008/04/04 12:04:57 caleb Exp $
+
+*sphinx-0.9.8_rc2 (04 Apr 2008)
+
+ 04 Apr 2008; Caleb Tennis <caleb@gentoo.org> +sphinx-0.9.8_rc2.ebuild:
+ version bump
*sphinx-0.9.8_rc1-r1 (26 Mar 2008)
diff --git a/app-misc/sphinx/sphinx-0.9.8_rc2.ebuild b/app-misc/sphinx/sphinx-0.9.8_rc2.ebuild
new file mode 100644
index 000000000000..dd8527790aa3
--- /dev/null
+++ b/app-misc/sphinx/sphinx-0.9.8_rc2.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/sphinx/sphinx-0.9.8_rc2.ebuild,v 1.1 2008/04/04 12:04:57 caleb Exp $
+
+inherit eutils autotools
+
+MY_P=${P/_/-}
+
+DESCRIPTION="Full-text search engine with support for MySQL and PostgreSQL"
+HOMEPAGE="http://www.sphinxsearch.com/"
+SRC_URI="http://sphinxsearch.com/downloads/${MY_P}.tar.gz"
+RESTRICT="mirror"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="mysql postgres debug"
+
+DEPEND="mysql? ( virtual/mysql )
+ postgres? ( dev-db/libpq )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}/${MY_P}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ eautoreconf
+}
+
+src_compile() {
+ econf \
+ $(use_with mysql) \
+ $(use_with postgres pgsql) \
+ $(use_with debug) || die "econf failed"
+
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "install failed"
+ dodoc doc/* example.sql
+ dodir /etc/sphinx
+ insinto /etc/sphinx
+ doins sphinx.conf.dist
+
+ dodir /var/lib/sphinx
+ dodir /var/log/sphinx
+ dodir /var/run/sphinx
+}