diff options
Diffstat (limited to 'app-text/dbacl')
-rw-r--r-- | app-text/dbacl/Manifest | 1 | ||||
-rw-r--r-- | app-text/dbacl/dbacl-1.14.ebuild | 28 | ||||
-rw-r--r-- | app-text/dbacl/metadata.xml | 12 |
3 files changed, 41 insertions, 0 deletions
diff --git a/app-text/dbacl/Manifest b/app-text/dbacl/Manifest new file mode 100644 index 000000000000..06d4f76f2f24 --- /dev/null +++ b/app-text/dbacl/Manifest @@ -0,0 +1 @@ +DIST dbacl-1.14.tar.gz 922969 SHA256 07e795ab4d8ba530d466667409e6a62507ce397bb5bb19e5f1dbc370ba794408 SHA512 1cf0877c8bea9c47e055f9291efbb934b65cfd7d26d4ef375ee9fb154b557c691e760543254c5128eb1a04b0724462078f47477a91c4e396e7096ef88d2d77c9 WHIRLPOOL 1490a4100d79beeb9236093dd93a6236722adf69ccd68c408a41ea5a1e9b6068048038b407b36353c258a6b13298ea141d24dabd36dcc49f7380b8f5d5b58c71 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) +} diff --git a/app-text/dbacl/metadata.xml b/app-text/dbacl/metadata.xml new file mode 100644 index 000000000000..f5e6780c2a64 --- /dev/null +++ b/app-text/dbacl/metadata.xml @@ -0,0 +1,12 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer> +<email>aidecoe@gentoo.org</email> +<name>Amadeusz Żołnowski</name> +</maintainer> +<use> +<flag name="interactive">Enable the interactive mailinspect ability</flag> +</use> +<longdescription>dbacl is a fast Bayesian text and email classifier. It builds a variety of language models using maximum entropy (minimum divergence) principles, and these can then be used to categorize input data automatically among multiple categories.</longdescription> +</pkgmetadata> |