diff options
author | Marcelo Góes <vanquirius@gentoo.org> | 2005-05-10 13:39:40 +0000 |
---|---|---|
committer | Marcelo Góes <vanquirius@gentoo.org> | 2005-05-10 13:39:40 +0000 |
commit | f3d16b7df0b9af3d989acca6c1ead67fe47b0fe1 (patch) | |
tree | 4b2a2d52d0f097a6adc5386a59d0c502a0085ff1 /net-analyzer/rrdtool | |
parent | Stable on sparc (diff) | |
download | historical-f3d16b7df0b9af3d989acca6c1ead67fe47b0fe1.tar.gz historical-f3d16b7df0b9af3d989acca6c1ead67fe47b0fe1.tar.bz2 historical-f3d16b7df0b9af3d989acca6c1ead67fe47b0fe1.zip |
bug 91978
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-analyzer/rrdtool')
-rw-r--r-- | net-analyzer/rrdtool/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/rrdtool/Manifest | 20 | ||||
-rw-r--r-- | net-analyzer/rrdtool/files/digest-rrdtool-1.2.6 | 1 | ||||
-rw-r--r-- | net-analyzer/rrdtool/rrdtool-1.2.6.ebuild | 116 |
4 files changed, 135 insertions, 10 deletions
diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog index 39627f7cce19..ce6660918c20 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.55 2005/05/09 21:35:06 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.56 2005/05/10 13:39:40 vanquirius Exp $ + +*rrdtool-1.2.6 (10 May 2005) + + 10 May 2005; Marcelo Goes <vanquirius@gentoo.org> +rrdtool-1.2.6.ebuild: + Version bump for bug 91978. Thanks to Frederic Mangeant + <frederic.mangeant@gmail.com>. *rrdtool-1.2.2 (09 May 2005) diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest index 6d75548ee660..0be382dcaf8a 100644 --- a/net-analyzer/rrdtool/Manifest +++ b/net-analyzer/rrdtool/Manifest @@ -1,16 +1,18 @@ -MD5 f6debee13ff4422ad3565726ee302ab7 ChangeLog 9088 -MD5 1a739170238a1fae241a8a0df21462e9 metadata.xml 241 +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 fd937eb5e7f8eab72f05e74d1533ddab rrdtool-1.0.45-r2.ebuild 2624 -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 a356625b990246b65fbbc04e0c433d5a rrdtool-1.2.2.ebuild 2686 +MD5 a899bdbfc828fd8d3b6eccb20639b84b rrdtool-1.0.47.ebuild 2822 +MD5 3e05207a7ec158d5344e289ad0e5ce66 ChangeLog 9288 +MD5 67c65c975f01f9c4e4393021b6c1419e rrdtool-1.2.6.ebuild 2689 +MD5 1a739170238a1fae241a8a0df21462e9 metadata.xml 241 +MD5 039f73b0f4f518dd2014444fd29f9a04 rrdtool-1.2.1.ebuild 2686 +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 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 -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 +MD5 7ee6d2e6d1bc0c21aaea586600840694 files/digest-rrdtool-1.2.6 65 diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.2.6 b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.6 new file mode 100644 index 000000000000..3e212b277838 --- /dev/null +++ b/net-analyzer/rrdtool/files/digest-rrdtool-1.2.6 @@ -0,0 +1 @@ +MD5 a152a09aab26849491d493f96941c45d rrdtool-1.2.6.tar.gz 872221 diff --git a/net-analyzer/rrdtool/rrdtool-1.2.6.ebuild b/net-analyzer/rrdtool/rrdtool-1.2.6.ebuild new file mode 100644 index 000000000000..3fcc0e20ba8d --- /dev/null +++ b/net-analyzer/rrdtool/rrdtool-1.2.6.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.6.ebuild,v 1.1 2005/05/10 13:39:40 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="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 +} |