summaryrefslogtreecommitdiff
path: root/app-text/dbacl
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/dbacl')
-rw-r--r--app-text/dbacl/Manifest3
-rw-r--r--app-text/dbacl/dbacl-1.14.ebuild27
-rw-r--r--app-text/dbacl/metadata.xml12
3 files changed, 42 insertions, 0 deletions
diff --git a/app-text/dbacl/Manifest b/app-text/dbacl/Manifest
new file mode 100644
index 000000000000..6b5d02732fb4
--- /dev/null
+++ b/app-text/dbacl/Manifest
@@ -0,0 +1,3 @@
+DIST dbacl-1.14.tar.gz 922969 BLAKE2B 9d16c1736b9bc062135daa2fd810b527324abe1fa4cdab650bee45949c21f44fef4197a09d9059e89bdc36dc038f073e7d67b295f6a460fad5dd22d688bd464d SHA512 1cf0877c8bea9c47e055f9291efbb934b65cfd7d26d4ef375ee9fb154b557c691e760543254c5128eb1a04b0724462078f47477a91c4e396e7096ef88d2d77c9
+EBUILD dbacl-1.14.ebuild 704 BLAKE2B f8d17c5d13a347f9518d8ad6a2cbef0288ca4bdbffd8a70ce4dc1ce935dea057f932e77f3619ac0af41e2225c1a5c70553620dc8c97563834526161c8fbb5f23 SHA512 6c1e721db59b9f330ea0fab1491f0ab39cf801c628525b963a616da664c84175fe71633f492cf0e1650d37d955fac41695cc50970b9a6fe7ad5968538cc8727a
+MISC metadata.xml 610 BLAKE2B 1466caaf4d713d5f8352b846e2a1616c28a1f45ffedad98a3f7e35e602cf41b77a3b0bc74012b49c793609a8f88c3976d5573c79f9448816cd00991cc3cef97f SHA512 3151e9a89b575615aa7bc26fae4edbf84a53a24893c1c07f6d8f46fd1058f2270bf7a30697217e1326b733204ee38edd56a7ab8f9949ae2a5450b87828ae290b
diff --git a/app-text/dbacl/dbacl-1.14.ebuild b/app-text/dbacl/dbacl-1.14.ebuild
new file mode 100644
index 000000000000..1d92922bbae4
--- /dev/null
+++ b/app-text/dbacl/dbacl-1.14.ebuild
@@ -0,0 +1,27 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+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 ~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..505ddc59ff8b
--- /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 type="person">
+<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>