summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2008-03-23 13:03:58 +0000
committerPeter Volkov <pva@gentoo.org>2008-03-23 13:03:58 +0000
commit6be5a626311c4c7c8fadebb77db00c3651381b66 (patch)
treef47fa81f585bb0a97313e87568cb0d63f2eaf4ec /net-analyzer/rrdtool
parentfix default webroot installation; fix einfo output; update documentation (diff)
downloadgentoo-2-6be5a626311c4c7c8fadebb77db00c3651381b66.tar.gz
gentoo-2-6be5a626311c4c7c8fadebb77db00c3651381b66.tar.bz2
gentoo-2-6be5a626311c4c7c8fadebb77db00c3651381b66.zip
Fix multilib issue, ruby bindings now doing site installation, bug #214051, thank Markus for report. Droped mips.
(Portage version: 2.1.4.4)
Diffstat (limited to 'net-analyzer/rrdtool')
-rw-r--r--net-analyzer/rrdtool/ChangeLog9
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.2.15-r3.ebuild6
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.2.27-r1.ebuild88
3 files changed, 99 insertions, 4 deletions
diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog
index e6e9cdfccd92..2e8b8f69feba 100644
--- a/net-analyzer/rrdtool/ChangeLog
+++ b/net-analyzer/rrdtool/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/rrdtool
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.138 2008/03/22 20:28:20 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.139 2008/03/23 13:03:58 pva Exp $
+
+*rrdtool-1.2.27-r1 (23 Mar 2008)
+
+ 23 Mar 2008; <pva@gentoo.org> rrdtool-1.2.15-r3.ebuild,
+ +rrdtool-1.2.27-r1.ebuild:
+ Fix multilib issue, ruby bindings now doing site installation, bug #214051,
+ thank Markus for report. Droped mips.
22 Mar 2008; Raúl Porcel <armin76@gentoo.org> rrdtool-1.2.27.ebuild:
ia64/sparc stable wrt #214051
diff --git a/net-analyzer/rrdtool/rrdtool-1.2.15-r3.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.15-r3.ebuild
index 5ba8995825aa..7dba009afd76 100644
--- a/net-analyzer/rrdtool/rrdtool-1.2.15-r3.ebuild
+++ b/net-analyzer/rrdtool/rrdtool-1.2.15-r3.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.15-r3.ebuild,v 1.9 2007/01/31 20:52:45 dertobi123 Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.15-r3.ebuild,v 1.10 2008/03/23 13:03:58 pva Exp $
WANT_AUTOCONF="latest"
WANT_AUTOMAKE="latest"
@@ -13,7 +13,7 @@ SRC_URI="http://people.ee.ethz.ch/~oetiker/webtools/${PN}/pub/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 sh sparc x86"
+KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86"
IUSE="doc perl python rrdcgi tcl uclibc"
RDEPEND="tcl? ( dev-lang/tcl )
diff --git a/net-analyzer/rrdtool/rrdtool-1.2.27-r1.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.27-r1.ebuild
new file mode 100644
index 000000000000..593fa1f220f6
--- /dev/null
+++ b/net-analyzer/rrdtool/rrdtool-1.2.27-r1.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.27-r1.ebuild,v 1.1 2008/03/23 13:03:58 pva Exp $
+
+inherit autotools eutils flag-o-matic multilib perl-module
+
+DESCRIPTION="A system to store and display time-series data"
+HOMEPAGE="http://oss.oetiker.ch/rrdtool/"
+SRC_URI="http://oss.oetiker.ch/rrdtool/pub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="doc perl python ruby rrdcgi tcl"
+
+RDEPEND="tcl? ( dev-lang/tcl )
+ >=sys-libs/zlib-1.2.1
+ >=media-libs/freetype-2.1.5
+ >=media-libs/libart_lgpl-2.3.16
+ >=media-libs/libpng-1.2.5
+ rrdcgi? ( >=dev-libs/cgilib-0.5 )
+ ruby? ( !dev-ruby/ruby-rrd )"
+
+DEPEND="${RDEPEND}
+ perl? ( dev-lang/perl )
+ python? ( dev-lang/python )
+ ruby? ( dev-lang/ruby )
+ sys-apps/gawk"
+
+TCLVER=""
+
+HTMLDOC_DIR="${PF}/html"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${PN}-1.2.15-newstyle-resize.patch
+}
+
+pkg_setup() {
+ use perl && perl-module_pkg_setup
+}
+
+src_compile() {
+ filter-mfpmath sse
+ filter-flags -ffast-math
+
+ export RRDDOCDIR=/usr/share/doc/${PF}
+
+ econf $(use_enable rrdcgi) \
+ $(use_enable ruby) \
+ $(use_enable ruby ruby-site-install) \
+ $(use_enable perl) \
+ $(use_enable perl perl-site-install) \
+ $(use_enable tcl) \
+ $(use_with tcl tcllib /usr/$(get_libdir)) \
+ $(use_enable python) || die "econf failed."
+
+ emake || die "make failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "make install failed"
+
+ if ! use doc ; then
+ rm -rf "${D}"/usr/share/doc/${PF}/{html,txt}
+ fi
+
+ use perl && fixlocalpod
+
+ dodoc CHANGES CONTRIBUTORS NEWS README THREADS TODO
+}
+
+pkg_preinst() {
+ use perl && perl-module_pkg_preinst
+}
+
+pkg_postinst() {
+ use perl && perl-module_pkg_postinst
+}
+
+pkg_prerm() {
+ use perl && perl-module_pkg_prerm
+}
+
+pkg_postrm() {
+ use perl && perl-module_pkg_postrm
+}