summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcelo Góes <vanquirius@gentoo.org>2005-06-19 00:38:09 +0000
committerMarcelo Góes <vanquirius@gentoo.org>2005-06-19 00:38:09 +0000
commitef3c6adc31fe42e8aa36cc66dd28fd0fc04db3f1 (patch)
tree2017de33683f6b2ea509d869388097ecff1a162d /net-analyzer/rrdtool
parentStable on ia64, bug 90619. (diff)
downloadgentoo-2-ef3c6adc31fe42e8aa36cc66dd28fd0fc04db3f1.tar.gz
gentoo-2-ef3c6adc31fe42e8aa36cc66dd28fd0fc04db3f1.tar.bz2
gentoo-2-ef3c6adc31fe42e8aa36cc66dd28fd0fc04db3f1.zip
bug 96369
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/rrdtool')
-rw-r--r--net-analyzer/rrdtool/ChangeLog8
-rw-r--r--net-analyzer/rrdtool/Manifest4
-rw-r--r--net-analyzer/rrdtool/files/digest-rrdtool-1.2.101
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.2.10.ebuild115
4 files changed, 126 insertions, 2 deletions
diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog
index 4ab47a1e60ea..2d82cc22ad15 100644
--- a/net-analyzer/rrdtool/ChangeLog
+++ b/net-analyzer/rrdtool/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/rrdtool
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.68 2005/06/18 23:38:13 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.69 2005/06/19 00:38:09 vanquirius Exp $
+
+*rrdtool-1.2.10 (19 Jun 2005)
+
+ 19 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> +rrdtool-1.2.10.ebuild:
+ Version bump for bug 96369. Thanks to Frederic Mangeant
+ <frederic.mangeant@gmail.com>.
18 Jun 2005; Marcelo Goes <vanquirius@gentoo.org> rrdtool-1.2.6-r1.ebuild,
-rrdtool-1.2.8.ebuild:
diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest
index a6d3cd7a5bb9..3903f0f1fcca 100644
--- a/net-analyzer/rrdtool/Manifest
+++ b/net-analyzer/rrdtool/Manifest
@@ -1,12 +1,14 @@
MD5 7245abe6326ff3cc840e5092c1b60890 rrdtool-1.0.49.ebuild 2729
MD5 177f6939c1ba72adbbd42b99ea93121f rrdtool-1.0.50.ebuild 2753
+MD5 5237327ba17008615f4ee3498d1e12aa rrdtool-1.2.10.ebuild 2734
MD5 5237327ba17008615f4ee3498d1e12aa rrdtool-1.2.9.ebuild 2734
-MD5 b9c27df69570fb04a3afb90aa0f61e23 ChangeLog 11116
+MD5 9e60dfbe7a382491d9c7a35bc0c45497 ChangeLog 11315
MD5 3e2c11de8a1b8b219f0640895346387b rrdtool-1.2.6-r1.ebuild 2637
MD5 6fc50ca1a5c083a6185c8ab9568d74e3 rrdtool-1.2.6.ebuild 2691
MD5 1a739170238a1fae241a8a0df21462e9 metadata.xml 241
MD5 5027f79618fbf229b145b204b1e595ce files/digest-rrdtool-1.0.49 67
MD5 0f97ed6174056bc1f72fbd7eb964f3f6 files/digest-rrdtool-1.0.50 67
+MD5 f16d0d8d5db1ed4ece7a3221c9fb8266 files/digest-rrdtool-1.2.10 67
MD5 7ee6d2e6d1bc0c21aaea586600840694 files/digest-rrdtool-1.2.6 65
MD5 ddcbf31c065a424ce3ad6595d1b5ea8d files/digest-rrdtool-1.2.9 65
MD5 7ee6d2e6d1bc0c21aaea586600840694 files/digest-rrdtool-1.2.6-r1 65
diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.10 b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.10
new file mode 100644
index 000000000000..6e2f40daa447
--- /dev/null
+++ b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.10
@@ -0,0 +1 @@
+MD5 ebf90d351126a225e87dbb88da7635f9 rrdtool-1.2.10.tar.gz 1001508
diff --git a/net-analyzer/rrdtool/rrdtool-1.2.10.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.10.ebuild
new file mode 100644
index 000000000000..fd76e3d9fae1
--- /dev/null
+++ b/net-analyzer/rrdtool/rrdtool-1.2.10.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.2.10.ebuild,v 1.1 2005/06/19 00:38:09 vanquirius Exp $
+
+inherit perl-module flag-o-matic gnuconfig eutils
+
+DESCRIPTION="A system to store and display time-series data"
+HOMEPAGE="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/"
+SRC_URI="http://people.ee.ethz.ch/~oetiker/webtools/${PN}/pub/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~alpha ~amd64 ~hppa ~ia64 ~ppc ~sparc"
+IUSE="doc perl python tcltk"
+
+DEPEND="perl? ( dev-lang/perl )
+ python? ( dev-lang/python )
+ sys-apps/gawk
+ >=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
+ >=media-libs/gd-1.8.3
+ >=dev-libs/cgilib-0.5"
+RDEPEND="tcltk? ( dev-lang/tcl )"
+
+TCLVER=""
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed -i -e 's:<rrd_\(.*\)>:"../../src/rrd_\1":g' \
+ bindings/tcl/tclrrd.c || die "sed failed"
+ sed -i -e 's:-lrrd_private:-ltcl -lrrd:' \
+ bindings/tcl/Makefile.* || die "sed failed"
+}
+
+pkg_setup() {
+ use perl && perl-module_pkg_setup
+}
+
+src_compile() {
+ filter-mfpmath sse
+ filter-flags -ffast-math
+
+ local myconf
+ myconf="--datadir=/usr/share --enable-shared"
+
+ use tcltk \
+ && myconf="${myconf} --with-tcllib=/usr/lib" \
+ || myconf="${myconf} --without-tcllib"
+
+ use python || myconf="${myconf} --disable-python"
+
+ if use perl ; then
+ econf ${myconf} --with-perl-options='PREFIX=/usr INSTALLDIRS=vendor DESTDIR=${D}' || \
+ die "econf failed"
+ else
+ econf ${myconf} --disable-perl || die "econf failed"
+ fi
+
+ make || die "make failed"
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die "make install failed"
+
+ rm -fr ${D}/usr/examples
+ rm -fr ${D}/usr/shared
+
+ if use doc ; then
+ dohtml doc/*.html
+ dodoc doc/*.pod
+ dodoc doc/*.txt
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ insinto /usr/share/doc/${PF}/contrib
+ doins contrib/*
+ fi
+
+ if use perl ; then
+ perlinfo
+ mytargets="site-perl-install"
+ perl-module_src_install || die
+
+ # remove duplicate installation into /usr/lib/perl
+ rm -Rf ${D}/usr/lib/perl
+ fi
+
+ if use tcltk ; then
+ mv ${S}/bindings/tcl/tclrrd.so ${S}/bindings/tcl/tclrrd${PV}.so
+ insinto /usr/lib/tcl${TCL_VER}/tclrrd${PV}
+ doins ${S}/bindings/tcl/tclrrd${PV}.so
+ echo "package ifneeded Rrd ${PV} [list load [file join \$$dir .. tclrrd${PV}.so]]" \
+ >> ${D}/usr/lib/tcl${TCL_VER}/tclrrd${PV}/pkgIndex.tcl
+ fi
+
+ dodoc COPY* CONTR* README 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
+}