summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/gonzui/gonzui-1.1.ebuild')
-rw-r--r--app-text/gonzui/gonzui-1.1.ebuild42
1 files changed, 42 insertions, 0 deletions
diff --git a/app-text/gonzui/gonzui-1.1.ebuild b/app-text/gonzui/gonzui-1.1.ebuild
new file mode 100644
index 000000000000..66f25aea5e29
--- /dev/null
+++ b/app-text/gonzui/gonzui-1.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-text/gonzui/gonzui-1.1.ebuild,v 1.1 2005/04/12 16:07:17 matsuu Exp $
+
+inherit eutils ruby
+
+IUSE=""
+USE_RUBY="ruby18 ruby19"
+
+DESCRIPTION="gonzui is a source code search engine."
+HOMEPAGE="http://gonzui.sourceforge.net/"
+SRC_URI="mirror://sourceforge/gonzui/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+
+DEPEND=">=virtual/ruby-1.8.2
+ >=sys-libs/db-4.2
+ >=dev-ruby/ruby-bdb-0.5.2
+ dev-ruby/ruby-progressbar"
+
+src_unpack() {
+ unpack ${A}
+ cp ${FILESDIR}/ebuild.rb ${S}/langscan
+ sed -i -e "s/rubylib_DATA = /rubylib_DATA = ebuild.rb /" \
+ ${S}/langscan/Makefile.in || die
+}
+
+src_install() {
+ ruby_src_install
+ mv ${D}/etc/gonzuirc.sample ${D}/etc/gonzuirc
+ doinitd ${FILESDIR}/gonzui
+ keepdir /var/lib/gonzui
+ keepdir /var/log/gonzui
+}
+
+pkg_postinst() {
+ einfo "The database (gonzui.db) format has become incompatible with"
+ einfo "older versions."
+ einfo "Please restructure the database if you already have it."
+}