diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-08-31 08:59:54 +0100 |
commit | 3b08f674e3f771b49370edb144dab0958c8cf721 (patch) | |
tree | 3673eb62859b2343bc70589f2f9d670c2eee5cc8 /app-accessibility/edbrowse/edbrowse-3.7.5.1-r2.ebuild | |
parent | b1c81de4fadbd00897700a7321f03b390d952b2e (diff) |
gentoo resync : 31.08.2021
Diffstat (limited to 'app-accessibility/edbrowse/edbrowse-3.7.5.1-r2.ebuild')
-rw-r--r-- | app-accessibility/edbrowse/edbrowse-3.7.5.1-r2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/app-accessibility/edbrowse/edbrowse-3.7.5.1-r2.ebuild b/app-accessibility/edbrowse/edbrowse-3.7.5.1-r2.ebuild new file mode 100644 index 000000000000..c83ed47a9aa4 --- /dev/null +++ b/app-accessibility/edbrowse/edbrowse-3.7.5.1-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Combination editor, browser, and mail client that is 100% text based" +HOMEPAGE="http://edbrowse.org" +SRC_URI="https://github.com/CMB/edbrowse/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="odbc" + +RDEPEND=" + || ( app-text/tidy-html5 >=app-text/htmltidy-5.0.0 ) + dev-lang/duktape:= + dev-libs/libpcre + net-misc/curl + sys-libs/readline:= + odbc? ( dev-db/unixODBC )" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-lang/perl + virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${P}-fno-common.patch + "${FILESDIR}"/${P}-manpage.patch +) + +src_prepare() { + cmake_src_prepare + + sed -i -e "s:/usr/share/doc/edbrowse:/usr/share/doc/${PF}:" CMakeLists.txt || die +} + +src_configure() { + local mycmakeargs=( + -DBUILD_EDBR_ODBC=$(usex odbc) + ) + cmake_src_configure +} |