diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 05:21:45 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-09-24 05:21:45 +0100 |
commit | fcf991edcc1b310199e4e829a3706bc1c267d1db (patch) | |
tree | 50f02cb76c2666dbe78d927799c034715582c9cd /app-text/xapian-omega/xapian-omega-1.4.23.ebuild | |
parent | 3c246ed172bd795a519ba659ba32c9e91f6bedde (diff) |
gentoo auto-resync : 24:09:2023 - 05:21:45
Diffstat (limited to 'app-text/xapian-omega/xapian-omega-1.4.23.ebuild')
-rw-r--r-- | app-text/xapian-omega/xapian-omega-1.4.23.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/app-text/xapian-omega/xapian-omega-1.4.23.ebuild b/app-text/xapian-omega/xapian-omega-1.4.23.ebuild new file mode 100644 index 000000000000..a9a75d694991 --- /dev/null +++ b/app-text/xapian-omega/xapian-omega-1.4.23.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +HOMEPAGE="https://xapian.org/" +DESCRIPTION="An application built on Xapian, consisting of indexers and a CGI search frontend" +SRC_URI="https://oligarchy.co.uk/xapian/${PV}/xapian-omega-${PV}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +DEPEND=" + dev-lang/perl + dev-libs/libpcre2:= + ~dev-libs/xapian-${PV}:0/30 + sys-apps/file + sys-libs/zlib +" +RDEPEND="${DEPEND}" + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}" install + + # Protect /etc/omega.conf + echo "CONFIG_PROTECT=\"/etc/omega.conf\"" > "${T}"/20xapian-omega || die + doenvd "${T}"/20xapian-omega + dodoc AUTHORS ChangeLog INSTALL NEWS README TODO + + # Directory containing Xapian databases: + keepdir /var/lib/omega/data + + # Directory containing OmegaScript templates: + keepdir /var/lib/omega/templates + mv "${S}"/templates/* "${ED}"/var/lib/omega/templates || die + + # Directory to write Omega logs to: + keepdir /var/log/omega + + # Directory containing any cdb files for the $lookup OmegaScript command: + keepdir /var/lib/omega/cdb +} |