media-libs/liblingoteach - 0.2.3-r3 (gentoo)

Search

Package Information

Description:
A library to support lingoteach-ui and for generic lesson development
Homepage:
http://lingoteach.sourceforge.net
License:
GPL-2

Ebuild Details

Version EAPI Keywords Slot
0.2.3-r3 8 amd64 ~x86 0
View Raw Ebuild
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit autotools

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 ~x86"
IUSE="debug zlib"

RDEPEND="
	zlib? ( virtual/zlib:= )
	dev-libs/libxml2:=
"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig"

src_prepare() {
	default

	# bug #899826
	eautoreconf
}

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
}

USE Flags

Dependencies

DEPEND

	zlib? ( virtual/zlib:= )
	dev-libs/libxml2:=

RDEPEND

	zlib? ( virtual/zlib:= )
	dev-libs/libxml2:=

BDEPEND

virtual/pkgconfig