diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-10-10 00:00:15 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-10-10 00:00:15 +0000 |
commit | f8accf42dfbd16c9c9f91875ffb5ba8dd2e09bb9 (patch) | |
tree | eaf7a7d081b2bc0286e0d553f90e95ee19f4209b /app-text | |
parent | Initial import of tokyotyrant. Thanks to Johan Bergstroem for the ebuild. Clo... (diff) | |
download | gentoo-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')
-rw-r--r-- | app-text/tokyodystopia/ChangeLog | 11 | ||||
-rw-r--r-- | app-text/tokyodystopia/metadata.xml | 9 | ||||
-rw-r--r-- | app-text/tokyodystopia/tokyodystopia-0.9.13.ebuild | 39 |
3 files changed, 59 insertions, 0 deletions
diff --git a/app-text/tokyodystopia/ChangeLog b/app-text/tokyodystopia/ChangeLog new file mode 100644 index 000000000000..f9120699b144 --- /dev/null +++ b/app-text/tokyodystopia/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for app-text/tokyodystopia +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/tokyodystopia/ChangeLog,v 1.1 2009/10/10 00:00:15 patrick Exp $ + +*tokyodystopia-0.9.13 (09 Oct 2009) + + 09 Oct 2009; Patrick Lauer <patrick@gentoo.org> + +tokyodystopia-0.9.13.ebuild, +metadata.xml: + Initial import of the tokyo dystopia fulltext search engine. Ebuild by me + based on tokyotyrant ebuild. + diff --git a/app-text/tokyodystopia/metadata.xml b/app-text/tokyodystopia/metadata.xml new file mode 100644 index 000000000000..e433c08d449a --- /dev/null +++ b/app-text/tokyodystopia/metadata.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <maintainer> + <email>patrick@gentoo.org</email> + <name>Patrick Lauer</name> + </maintainer> +</pkgmetadata> 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" +} |