mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-04 01:37:34 -08:00
dev-libs/antlr-c: drop 3.5.2-r2
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
This commit is contained in:
parent
a9ee024b35
commit
18e53e626b
@ -1,60 +0,0 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
inherit autotools
|
|
||||||
|
|
||||||
MY_PN="${PN%-c}"
|
|
||||||
DESCRIPTION="The ANTLR3 C Runtime"
|
|
||||||
HOMEPAGE="https://www.antlr3.org/"
|
|
||||||
SRC_URI="https://github.com/${MY_PN}/${MY_PN}3/archive/${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
|
|
||||||
S="${WORKDIR}/${MY_PN}3-${PV}/runtime/C"
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~ppc ~x86"
|
|
||||||
IUSE="debug debugger doc"
|
|
||||||
|
|
||||||
BDEPEND="doc? ( app-text/doxygen[dot] )"
|
|
||||||
|
|
||||||
PATCHES=( "${FILESDIR}/3.5-cflags.patch" )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
sed -i '/^QUIET/s/NO/YES/' doxyfile || die
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local econfargs=(
|
|
||||||
$(use_enable debug debuginfo)
|
|
||||||
$(use_enable debugger antlrdebug)
|
|
||||||
)
|
|
||||||
|
|
||||||
case "${ABI}" in
|
|
||||||
*64*) econfargs+=( --enable-64bit ) ;;
|
|
||||||
*) econfargs+=( --disable-64bit ) ;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
CONFIG_SHELL="${BROOT}"/bin/bash econf "${econfargs[@]}"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
default
|
|
||||||
|
|
||||||
if use doc ; then
|
|
||||||
einfo "Generating API documentation ..."
|
|
||||||
doxygen -u doxyfile || die
|
|
||||||
doxygen doxyfile || die
|
|
||||||
|
|
||||||
HTML_DOCS=( "${S}"/api/ )
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
default
|
|
||||||
|
|
||||||
find "${ED}" -name '*.la' -delete || die
|
|
||||||
}
|
|
||||||
@ -2,9 +2,6 @@
|
|||||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
<pkgmetadata>
|
<pkgmetadata>
|
||||||
<!-- maintainer-needed -->
|
<!-- maintainer-needed -->
|
||||||
<use>
|
|
||||||
<flag name="debugger">Compiles debug info into the library</flag>
|
|
||||||
</use>
|
|
||||||
<upstream>
|
<upstream>
|
||||||
<remote-id type="github">antlr/antlr3</remote-id>
|
<remote-id type="github">antlr/antlr3</remote-id>
|
||||||
</upstream>
|
</upstream>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user