diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-07-29 20:41:19 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-07-29 20:41:19 +0000 |
commit | 6ae1cfa5f49ddb323dd0e4fda44457cb1f4f7724 (patch) | |
tree | 8f37e3799d27c436f89ac8ab1ce0ea61219c1fb3 /net-analyzer/rrdtool | |
parent | Version bumped. (diff) | |
download | historical-6ae1cfa5f49ddb323dd0e4fda44457cb1f4f7724.tar.gz historical-6ae1cfa5f49ddb323dd0e4fda44457cb1f4f7724.tar.bz2 historical-6ae1cfa5f49ddb323dd0e4fda44457cb1f4f7724.zip |
Version bumped.
Diffstat (limited to 'net-analyzer/rrdtool')
-rw-r--r-- | net-analyzer/rrdtool/Manifest | 6 | ||||
-rw-r--r-- | net-analyzer/rrdtool/files/digest-rrdtool-1.0.45 | 1 | ||||
-rw-r--r-- | net-analyzer/rrdtool/rrdtool-1.0.45.ebuild | 99 |
3 files changed, 102 insertions, 4 deletions
diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest index 92fc2ffae7b4..96eec57adf9d 100644 --- a/net-analyzer/rrdtool/Manifest +++ b/net-analyzer/rrdtool/Manifest @@ -1,9 +1,7 @@ -MD5 ca7f0299b3495873c2b7e2447058a08e ChangeLog 3994 -MD5 243a477ee9c3a0f24c8dbeedf629725d rrdtool-1.0.45.ebuild 2236 -MD5 dfa226717bd2b37eaa8bbe113428d650 rrdtool-1.0.43.ebuild 2244 +MD5 bd06724db6ba04e55db04e909ca4c8a1 ChangeLog 4116 +MD5 34145df0fa2ed7cfe90a30fb3654fb9b rrdtool-1.0.45.ebuild 2236 MD5 977758f0bd0606cb27f7cd16556ef15d rrdtool-1.0.40-r1.ebuild 2188 MD5 dfa226717bd2b37eaa8bbe113428d650 rrdtool-1.0.42-r1.ebuild 2244 MD5 dd9238326165d64f1c400c9e38cfda28 files/digest-rrdtool-1.0.45 67 -MD5 d03b0d172f41879ac100ce22673bd755 files/digest-rrdtool-1.0.43 67 MD5 97610425876ad7e680316d1a3e808c4b files/digest-rrdtool-1.0.40-r1 67 MD5 e2341044ceaf46443ec4c577647d9cae files/digest-rrdtool-1.0.42-r1 67 diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.0.45 b/net-analyzer/rrdtool/files/digest-rrdtool-1.0.45 new file mode 100644 index 000000000000..4a703fa78f96 --- /dev/null +++ b/net-analyzer/rrdtool/files/digest-rrdtool-1.0.45 @@ -0,0 +1 @@ +MD5 64086fc7f1ca28c069ee5104f85d7a8c rrdtool-1.0.45.tar.gz 1176656 diff --git a/net-analyzer/rrdtool/rrdtool-1.0.45.ebuild b/net-analyzer/rrdtool/rrdtool-1.0.45.ebuild new file mode 100644 index 000000000000..b63011457b31 --- /dev/null +++ b/net-analyzer/rrdtool/rrdtool-1.0.45.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.45.ebuild,v 1.1 2003/07/29 20:41:08 mholzer Exp $ + +inherit perl-module flag-o-matic + +DESCRIPTION="A system to store and display time-series data" +SRC_URI="http://people.ee.ethz.ch/%7Eoetiker/webtools/${PN}/pub/${P}.tar.gz" +HOMEPAGE="http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="tcltk perl" + +filter-mfpmath "sse" +filter-flags "-ffast-math" + +DEPEND="perl? ( dev-lang/perl ) + sys-apps/gawk + >=media-libs/libgd-1.8.3" +RDEPEND="tcltk? ( dev-lang/tcl )" +TCLVER="" + +pkg_setup() { + use tcltk && \ + TCLVER=`awk -F\' '/TCL_VERSION/ {print $2}' /usr/lib/tclConfig.sh` + + use perl && perl-module_pkg_setup +} + +src_compile() { + local myconf + use tcltk \ + && myconf="${myconf} --with-tcllib=/usr/lib" \ + || myconf="${myconf} --without-tcllib" + + econf \ + --datadir=/usr/share \ + --enable-shared \ + --with-perl-options='INSTALLMAN1DIR=/usr/share/man/man1 INSTALLMAN3DIR=/usr/share/man/man3 PREFIX=${D}/usr' \ + ${myconf} || die + + make || die +} + +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 + fi + + if [ `use tcltk` ] ; then + mv ${S}/tcl/tclrrd.so ${S}/tcl/tclrrd${PV}.so + insinto /usr/lib/tcl${TCL_VER}/tclrrd${PV} + doins ${S}/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 +} |