summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-03-16 18:44:02 +0000
committerSam James <sam@gentoo.org>2021-03-16 19:22:33 +0000
commit1a969e59bf2aa02d7bb2c715bef66fe2046af28c (patch)
tree47f0ffb8a6c0c8dc2264bbb04ee261163c31c348 /dev-libs/antlr-c
parentdev-lang/mlton: port to EAPI 7 (diff)
downloadgentoo-1a969e59bf2aa02d7bb2c715bef66fe2046af28c.tar.gz
gentoo-1a969e59bf2aa02d7bb2c715bef66fe2046af28c.tar.bz2
gentoo-1a969e59bf2aa02d7bb2c715bef66fe2046af28c.zip
dev-libs/antlr-c: drop 3.5.2
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/antlr-c')
-rw-r--r--dev-libs/antlr-c/antlr-c-3.5.2.ebuild63
1 files changed, 0 insertions, 63 deletions
diff --git a/dev-libs/antlr-c/antlr-c-3.5.2.ebuild b/dev-libs/antlr-c/antlr-c-3.5.2.ebuild
deleted file mode 100644
index 52c508bf9e11..000000000000
--- a/dev-libs/antlr-c/antlr-c-3.5.2.ebuild
+++ /dev/null
@@ -1,63 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="5"
-
-inherit eutils autotools ltprune multilib-minimal
-
-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"
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
-IUSE="debug debugger doc static-libs"
-
-DEPEND="doc? ( app-doc/doxygen[dot] )"
-RDEPEND=""
-
-S="${WORKDIR}/${MY_PN}3-${PV}/runtime/C"
-PATCHES=( "${FILESDIR}/3.5-cflags.patch" )
-MULTILIB_WRAPPED_HEADERS=( /usr/include/antlr3config.h )
-DOCS=( AUTHORS ChangeLog NEWS README )
-
-src_prepare() {
- default
- sed -i '/^QUIET/s/NO/YES/' doxyfile || die
- eautoreconf
- multilib_copy_sources
-}
-
-multilib_src_configure() {
- local econfargs=(
- --enable-shared
- $(use_enable debug debuginfo)
- $(use_enable debugger antlrdebug)
- $(use_enable static-libs static)
- )
-
- case "${ABI}" in
- *64*) econfargs+=( --enable-64bit ) ;;
- *) econfargs+=( --disable-64bit ) ;;
- esac
-
- econf "${econfargs[@]}"
-}
-
-src_compile() {
- multilib-minimal_src_compile
-
- if use doc; then
- einfo "Generating API documentation ..."
- cd "${S}" || die
- doxygen -u doxyfile || die
- doxygen doxyfile || die
- fi
-}
-
-src_install() {
- multilib-minimal_src_install
- prune_libtool_files
- use doc && dohtml -r "${S}/api/"
-}