summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-10-10 00:00:15 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-10-10 00:00:15 +0000
commitf8accf42dfbd16c9c9f91875ffb5ba8dd2e09bb9 (patch)
treeeaf7a7d081b2bc0286e0d553f90e95ee19f4209b /app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild
parentInitial import of tokyotyrant. Thanks to Johan Bergstroem for the ebuild. Clo... (diff)
downloadgentoo-2-f8accf42dfbd16c9c9f91875ffb5ba8dd2e09bb9.tar.gz
gentoo-2-f8accf42dfbd16c9c9f91875ffb5ba8dd2e09bb9.tar.bz2
gentoo-2-f8accf42dfbd16c9c9f91875ffb5ba8dd2e09bb9.zip
Initial import of the tokyo dystopia fulltext search engine. Ebuild by me based on tokyotyrant ebuild.
(Portage version: 2.2_rc44/cvs/Linux x86_64)
Diffstat (limited to 'app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild')
-rw-r--r--app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild39
1 files changed, 39 insertions, 0 deletions
diff --git a/app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild b/app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild
new file mode 100644
index 000000000000..06ac468a0fe2
--- /dev/null
+++ b/app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild,v 1.1 2009/10/10 00:00:15 patrick Exp $
+
+EAPI=2
+
+inherit eutils
+
+DESCRIPTION="A fulltext search engine for Tokyo Cabinet"
+HOMEPAGE="http://1978th.net/tokyodystopia/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+#dev-db/tokyocabinet for depend?
+DEPEND="dev-db/tokyocabinet"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ enewgroup tyrant
+ enewuser tyrant -1 -1 /var/lib/${PN} tyrant
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "Install failed"
+
+ for x in /var/{lib,run,log}/${PN}; do
+ dodir "${x}" || die "Install failed"
+ fowners tyrant:tyrant "${x}"
+ done
+
+}
+
+src_test() {
+ emake -j1 check || die "Tests failed"
+}