summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/dbacl/dbacl-1.14.ebuild')
-rw-r--r--app-text/dbacl/dbacl-1.14.ebuild28
1 files changed, 28 insertions, 0 deletions
diff --git a/app-text/dbacl/dbacl-1.14.ebuild b/app-text/dbacl/dbacl-1.14.ebuild
new file mode 100644
index 000000000000..37163a6cfe6f
--- /dev/null
+++ b/app-text/dbacl/dbacl-1.14.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Digramic Bayesian text classifier"
+HOMEPAGE="http://www.lbreyer.com/gpl.html"
+SRC_URI="http://www.lbreyer.com/gpl/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 s390 x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="interactive"
+
+RDEPEND="interactive? (
+ sys-libs/slang:=
+ sys-libs/readline:=
+ sys-libs/ncurses:= )"
+
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ # See bug #352636 for reference
+ export ac_cv_lib_ncurses_initscr=$(usex interactive)
+ export ac_cv_lib_readline_readline=$(usex interactive)
+ export ac_cv_lib_slang_SLsmg_init_smg=$(usex interactive)
+}