forked-daapd ebuild re-animated

This commit is contained in:
Micha Glave
2015-07-23 15:58:51 +02:00
parent b415e58782
commit 47f23e7a6f
7 changed files with 148 additions and 84 deletions

View File

@@ -1,3 +0,0 @@
AUX antlr-c-3.1.4-doxygen.patch 638 RMD160 e78089956c297069f72dd523e8e7d4212dd79ee2 SHA1 27527b6494ea13b479ab08c80b4ba3e21fc61abe SHA256 bdec1623a16c5c3ff2773ff083849fd4ef641c3019cbb44c424b45fa42147a65
DIST libantlr3c-3.2.tar.gz 544194 RMD160 86649f0a5702688d0cd486916a8203a232d22b8b SHA1 89bfa4fbed8af7e089bff065a1ac8834a8deb493 SHA256 2ccfb8a8bdd3d6c1d60742ff3a5a954af6d5a8d7f8901c87229fc6fa540ac99a
EBUILD antlr-c-3.2.ebuild 1319 RMD160 0275f74153c9c368e5e9d78cdfca474d34b3fe1f SHA1 4e279f151a7b471d91516534e35910d38e3248e3 SHA256 83e0f7740c314083e280dee1b995049566fec83b64c193dfbfdf20781aebc878

View File

@@ -1,62 +0,0 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: 2009/10/07 florent.teichteil@gmail.com Exp $
EAPI="2"
MY_P="libantlr3c-${PV}"
inherit eutils
DESCRIPTION="The ANTLR3 C Runtime"
HOMEPAGE="http://fisheye2.atlassian.com/browse/antlr/runtime/C/dist/"
SRC_URI="http://www.antlr.org/download/C/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="debug debugger doc static-libs"
DEPEND="doc? ( app-doc/doxygen )"
RDEPEND=""
S="${WORKDIR}/${MY_P}"
src_prepare() {
epatch "${FILESDIR}/${PN}-3.1.4-doxygen.patch"
}
src_configure() {
local myconf
if ((use amd64) || (use ia64)); then
myconf="${myconf} --enable-64bit"
else
myconf="${myconf} --disable-64bit"
fi
econf \
$(use_enable static-libs static) \
$(use_enable debug debuginfo ) \
$(use_enable debugger antlrdebug ) \
${myconf}
}
src_compile() {
emake || die "make failed"
if use doc; then
einfo "Generating documentation API ..."
doxygen -u doxyfile
doxygen doxyfile || die "doxygen failed"
fi
}
src_install() {
emake DESTDIR="${D}" install || die "einstall failed."
# remove useless .la files
find "${D}" -name '*.la' -delete
dodoc AUTHORS ChangeLog NEWS README
if use doc; then
dohtml api/* || die "installing doxygen documentation"
fi
}

View File

@@ -1,19 +0,0 @@
--- doxyfile
+++ doxyfile
@@ -30,7 +30,6 @@
SHORT_NAMES = NO
JAVADOC_AUTOBRIEF = YES
MULTILINE_CPP_IS_BRIEF = NO
-DETAILS_AT_TOP = YES
INHERIT_DOCS = YES
SEPARATE_MEMBER_PAGES = NO
TAB_SIZE = 4
@@ -73,7 +72,7 @@
#---------------------------------------------------------------------------
# configuration options related to warning and progress messages
#---------------------------------------------------------------------------
-QUIET = NO
+QUIET = YES
WARNINGS = YES
WARN_IF_UNDOCUMENTED = YES
WARN_IF_DOC_ERROR = YES