diff options
author | Jeroen Roovers <jer@gentoo.org> | 2011-11-18 16:46:45 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2011-11-18 16:46:45 +0000 |
commit | 69868115388aa4f0b7552c24728a6e52338d5caf (patch) | |
tree | bd395e28abe4e2fff89a86f554be3f1f82f18c40 /net-analyzer/nagircbot | |
parent | Fix detection of parallel jobs from MAKEOPTS to handle all syntax variants. F... (diff) | |
download | gentoo-2-69868115388aa4f0b7552c24728a6e52338d5caf.tar.gz gentoo-2-69868115388aa4f0b7552c24728a6e52338d5caf.tar.bz2 gentoo-2-69868115388aa4f0b7552c24728a6e52338d5caf.zip |
Version bump. Fix underlinking issue (bug #369879). Respect CFLAGS (no -g or -O2), CC, CXX.
(Portage version: 2.2.0_alpha75/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/nagircbot')
-rw-r--r-- | net-analyzer/nagircbot/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/nagircbot/nagircbot-0.0.33.ebuild | 44 |
2 files changed, 52 insertions, 2 deletions
diff --git a/net-analyzer/nagircbot/ChangeLog b/net-analyzer/nagircbot/ChangeLog index 9a1787f1748d..6401d4bf377a 100644 --- a/net-analyzer/nagircbot/ChangeLog +++ b/net-analyzer/nagircbot/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/nagircbot -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagircbot/ChangeLog,v 1.7 2010/06/03 18:18:14 dertobi123 Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagircbot/ChangeLog,v 1.8 2011/11/18 16:46:45 jer Exp $ + +*nagircbot-0.0.33 (18 Nov 2011) + + 18 Nov 2011; Jeroen Roovers <jer@gentoo.org> +nagircbot-0.0.33.ebuild: + Version bump. Fix underlinking issue (bug #369879). Respect CFLAGS (no -g or + -O2), CC, CXX. 03 Jun 2010; Tobias Scherbaum <dertobi123@gentoo.org> metadata.xml: Add myself and netmon to metadata diff --git a/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild b/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild new file mode 100644 index 000000000000..f07e460bd879 --- /dev/null +++ b/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nagircbot/nagircbot-0.0.33.ebuild,v 1.1 2011/11/18 16:46:45 jer Exp $ + +EAPI=4 + +inherit toolchain-funcs + +DESCRIPTION="An irc bot that alerts you to nagios changes" +HOMEPAGE="http://www.vanheusden.com/nagircbot" +SRC_URI="http://www.vanheusden.com/nagircbot/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +CDEPEND="dev-libs/openssl" +DEPEND="dev-util/pkgconfig + ${CDEPEND}" +RDEPEND="net-analyzer/nagios-core + ${CDEPEND}" + +src_prepare() { +cp -av Makefile{,.org} + sed -i Makefile \ + -e 's:-lcrypto -lssl:$(shell pkg-config --libs openssl):g' \ + -e 's:-O2::g;s:-g::g' \ + || die +} + +src_compile() { + emake CC=$(tc-getCC) CXX=$(tc-getCXX) +} + +src_install() { + dodir /usr/bin + cp "${S}"/nagircbot "${D}"/usr/bin + + dodir /etc/init.d + dodir /etc/conf.d + cp "${FILESDIR}"/conf "${D}"/etc/conf.d/nagircbot + cp "${FILESDIR}"/init "${D}"/etc/init.d/nagircbot +} |