commit: b841f47b3f3b916ab0ebc52982447bd38d60e6ab Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> AuthorDate: Sun May 19 18:08:50 2024 +0000 Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org> CommitDate: Sun May 19 18:08:50 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b841f47b
media-libs/liblingoteach: update EAPI 6 -> 8 Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org> .../liblingoteach/liblingoteach-0.2.3-r1.ebuild | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/media-libs/liblingoteach/liblingoteach-0.2.3-r1.ebuild b/media-libs/liblingoteach/liblingoteach-0.2.3-r1.ebuild new file mode 100644 index 000000000000..cf498135095d --- /dev/null +++ b/media-libs/liblingoteach/liblingoteach-0.2.3-r1.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="A library to support lingoteach-ui and for generic lesson development" +HOMEPAGE="http://lingoteach.sourceforge.net" +SRC_URI="https://downloads.sourceforge.net/lingoteach/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="debug zlib" + +RDEPEND=" + zlib? ( sys-libs/zlib ) + dev-libs/libxml2 +" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +src_configure() { + local myeconfargs=( + $(use_enable zlib compression) + $(use_enable debug) + ) + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -name '*.la' -delete || die + mv "${ED}/usr/share/doc/${P}" "${ED}/usr/share/doc/${PF}" || die +}