1 # Copyright 1999-2024 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="A simple programming interface for reading and writing Ogg files and streams"
9 HOMEPAGE="https://www.xiph.org/oggz/"
10 SRC_URI="https://downloads.xiph.org/releases/${PN}/${P}.tar.gz"
14 KEYWORDS="~alpha amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
15 IUSE="doc static-libs test"
16 RESTRICT="!test? ( test )"
18 DEPEND=">=media-libs/libogg-1.2.0"
22 doc? ( app-text/doxygen )
23 test? ( app-text/docbook-sgml-utils )
26 PATCHES=( "${FILESDIR}/${P}-destdir.patch" )
32 sed -e '/AC_CHECK_PROG/s:doxygen:dIsAbLe&:' -i configure.ac || die
35 AT_M4DIR="m4" eautoreconf
40 $(use_enable static-libs static)
45 mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die # bug 808159
46 find "${D}" -type f -name '*.la' -delete || die