diff options
Diffstat (limited to 'app-admin/augeas/augeas-1.14.0.ebuild')
-rw-r--r-- | app-admin/augeas/augeas-1.14.0.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-admin/augeas/augeas-1.14.0.ebuild b/app-admin/augeas/augeas-1.14.0.ebuild new file mode 100644 index 000000000000..1379e3eb1d89 --- /dev/null +++ b/app-admin/augeas/augeas-1.14.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools + +DESCRIPTION="A library for changing configuration files" +HOMEPAGE="http://augeas.net/" +SRC_URI="https://github.com/hercules-team/augeas/releases/download/release-${PV}/${P}.tar.gz" +SRC_URI="https://github.com/hercules-team/augeas/archive/refs/tags/release-${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-libs/libxml2 + sys-libs/readline:=" +DEPEND="${RDEPEND}" +BDEPEND=" + >=app-doc/NaturalDocs-1.40 + virtual/pkgconfig + test? ( dev-lang/ruby ) +" + +PATCHES=( + "${FILESDIR}"/${P}-selinux.patch +) + +src_prepare() { + default + eautoreconf +} + +src_configure() { + # selinux needs to be implemented + econf --without-selinux +} + +src_compile() { + addpredict /usr/share/NaturalDocs/Config/Languages.txt + addpredict /usr/share/NaturalDocs/Config/Topics.txt + + default +} + +src_install() { + default + + find "${ED}" -name '*.la' -delete || die +} |