summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2005-05-09 21:35:06 +0000
committerMartin Holzer <mholzer@gentoo.org>2005-05-09 21:35:06 +0000
commita2b3b1d42081cd7f151e77bf34284f00aef5eb89 (patch)
treed2acd4d2c49893e198114659a6a74aec80fac66c /net-analyzer/rrdtool
parentStable on alpha + ia64, bug 91785. (diff)
downloadgentoo-2-a2b3b1d42081cd7f151e77bf34284f00aef5eb89.tar.gz
gentoo-2-a2b3b1d42081cd7f151e77bf34284f00aef5eb89.tar.bz2
gentoo-2-a2b3b1d42081cd7f151e77bf34284f00aef5eb89.zip
Version bumped.
(Portage version: 2.0.51.19)
Diffstat (limited to 'net-analyzer/rrdtool')
-rw-r--r--net-analyzer/rrdtool/ChangeLog7
-rw-r--r--net-analyzer/rrdtool/Manifest28
-rw-r--r--net-analyzer/rrdtool/files/digest-rrdtool-1.2.21
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.2.2.ebuild116
4 files changed, 133 insertions, 19 deletions
diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog
index 176af9b12fdf..39627f7cce19 100644
--- a/net-analyzer/rrdtool/ChangeLog
+++ b/net-analyzer/rrdtool/ChangeLog
@@ -1,6 +1,11 @@
# 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.54 2005/05/07 12:27:55 ka0ttic Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.55 2005/05/09 21:35:06 mholzer Exp $
+
+*rrdtool-1.2.2 (09 May 2005)
+
+ 09 May 2005; Martin Holzer <mholzer@gentoo.org> +rrdtool-1.2.2.ebuild:
+ Version bumped.
07 May 2005; Aaron Walker <ka0ttic@gentoo.org> rrdtool-1.2.0.ebuild,
rrdtool-1.2.1.ebuild:
diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest
index bc88cc5e2b2e..32a2be2581b0 100644
--- a/net-analyzer/rrdtool/Manifest
+++ b/net-analyzer/rrdtool/Manifest
@@ -1,24 +1,16 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 437558c61fe6b02611719beff44e9f12 rrdtool-1.0.49.ebuild 2729
-MD5 177f6939c1ba72adbbd42b99ea93121f rrdtool-1.0.50.ebuild 2753
-MD5 9393e396934b408fc3c578ac1431aea0 rrdtool-1.2.0.ebuild 2696
-MD5 a899bdbfc828fd8d3b6eccb20639b84b rrdtool-1.0.47.ebuild 2822
MD5 c89aa06d62216e4c4fe12548b8fe9cae ChangeLog 8966
MD5 1a739170238a1fae241a8a0df21462e9 metadata.xml 241
-MD5 039f73b0f4f518dd2014444fd29f9a04 rrdtool-1.2.1.ebuild 2686
+MD5 177f6939c1ba72adbbd42b99ea93121f rrdtool-1.0.50.ebuild 2753
+MD5 9393e396934b408fc3c578ac1431aea0 rrdtool-1.2.0.ebuild 2696
MD5 fd937eb5e7f8eab72f05e74d1533ddab rrdtool-1.0.45-r2.ebuild 2624
-MD5 cd1090ecb4ba89539e79667d88e4431c files/digest-rrdtool-1.0.47 67
-MD5 5027f79618fbf229b145b204b1e595ce files/digest-rrdtool-1.0.49 67
+MD5 437558c61fe6b02611719beff44e9f12 rrdtool-1.0.49.ebuild 2729
+MD5 039f73b0f4f518dd2014444fd29f9a04 rrdtool-1.2.1.ebuild 2686
+MD5 a899bdbfc828fd8d3b6eccb20639b84b rrdtool-1.0.47.ebuild 2822
+MD5 039f73b0f4f518dd2014444fd29f9a04 rrdtool-1.2.2.ebuild 2686
MD5 0f97ed6174056bc1f72fbd7eb964f3f6 files/digest-rrdtool-1.0.50 67
-MD5 dd9238326165d64f1c400c9e38cfda28 files/digest-rrdtool-1.0.45-r2 67
MD5 9ff5b12796af907241cf16914fc39f17 files/digest-rrdtool-1.2.0 65
+MD5 5027f79618fbf229b145b204b1e595ce files/digest-rrdtool-1.0.49 67
MD5 349f96485884bed355784001801db15e files/digest-rrdtool-1.2.1 65
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.1 (GNU/Linux)
-
-iD8DBQFCfLSUEZCkKN40op4RAnqdAJ0VMjE/hStB/2hMAYv6eEdn6rYXgACeNqyv
-dN+jHLIZBAOp4/bCeryzHUU=
-=eBh5
------END PGP SIGNATURE-----
+MD5 dd9238326165d64f1c400c9e38cfda28 files/digest-rrdtool-1.0.45-r2 67
+MD5 877678ba733d4bcb601117ca47575da6 files/digest-rrdtool-1.2.2 65
+MD5 cd1090ecb4ba89539e79667d88e4431c files/digest-rrdtool-1.0.47 67
diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.2 b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.2
new file mode 100644
index 000000000000..9497e0b09ffd
--- /dev/null
+++ b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.2
@@ -0,0 +1 @@
+MD5 c4fd925ffa61fabe346ba59ceb76697c rrdtool-1.2.2.tar.gz 898549
diff --git a/net-analyzer/rrdtool/rrdtool-1.2.2.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.2.ebuild
new file mode 100644
index 000000000000..2b505ff4f71e
--- /dev/null
+++ b/net-analyzer/rrdtool/rrdtool-1.2.2.ebuild
@@ -0,0 +1,116 @@
+# 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.2.ebuild,v 1.1 2005/05/09 21:35:06 mholzer 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="perl tcltk"
+
+DEPEND="perl? ( dev-lang/perl )
+ 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::' \
+ 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"
+
+ 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() {
+ einstall || die
+
+ # this package completely ignores mandir settings
+
+ doman doc/*.1
+ dohtml doc/*.html
+ dodoc doc/*.pod
+ dodoc doc/*.txt
+
+ rm -rf ${D}/usr/doc
+ rm -rf ${D}/usr/html
+ rm -rf ${D}/usr/man
+ rm -rf ${D}/usr/contrib
+ rm -rf ${D}/usr/examples
+
+ insinto /usr/share/doc/${PF}/examples
+ doins examples/*
+ insinto /usr/share/doc/${PF}/contrib
+ doins contrib/*
+
+ 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
+}