diff options
author | Martin Holzer <mholzer@gentoo.org> | 2003-04-16 16:36:40 +0000 |
---|---|---|
committer | Martin Holzer <mholzer@gentoo.org> | 2003-04-16 16:36:40 +0000 |
commit | 89b2d0e14d9b07691e3357cdaebe3dc8f7d67e79 (patch) | |
tree | bbb487244efc012f51c5b0437ae0afe286baa688 /net-analyzer | |
parent | Version bumped. (diff) | |
download | gentoo-2-89b2d0e14d9b07691e3357cdaebe3dc8f7d67e79.tar.gz gentoo-2-89b2d0e14d9b07691e3357cdaebe3dc8f7d67e79.tar.bz2 gentoo-2-89b2d0e14d9b07691e3357cdaebe3dc8f7d67e79.zip |
Version bumped.
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/rrdtool/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/rrdtool/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/rrdtool/files/digest-rrdtool-1.0.42 | 1 | ||||
-rw-r--r-- | net-analyzer/rrdtool/rrdtool-1.0.42.ebuild | 99 |
4 files changed, 109 insertions, 3 deletions
diff --git a/net-analyzer/rrdtool/ChangeLog b/net-analyzer/rrdtool/ChangeLog index 5939c62e2d61..f5ba9c1c076c 100644 --- a/net-analyzer/rrdtool/ChangeLog +++ b/net-analyzer/rrdtool/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/rrdtool # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.14 2003/04/04 16:03:02 absinthe Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/ChangeLog,v 1.15 2003/04/16 16:36:28 mholzer Exp $ + +*rrdtool-1.0.42 (16 Apr 2003) + + 16 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest, + rrdtool-1.0.42.ebuild: + Version bumped. *rrdtool-1.0.41 (13 Mar 2003) diff --git a/net-analyzer/rrdtool/Manifest b/net-analyzer/rrdtool/Manifest index 7ea76a8a4c51..762340f10f38 100644 --- a/net-analyzer/rrdtool/Manifest +++ b/net-analyzer/rrdtool/Manifest @@ -1,7 +1,7 @@ -MD5 316e21a74d176af7a8c0fe205f749900 ChangeLog 2944 +MD5 027c533c5a83c7e054b4e8d117b7587d ChangeLog 3078 MD5 9f39b45d65367ec65a2b71519a7ddcaa rrdtool-1.0.40.ebuild 2183 MD5 99741c976cc2441991bca47f05e7e061 rrdtool-1.0.41.ebuild 2225 -MD5 2973ebd9622da28278da2c768079f559 rrdtool-1.0.42.ebuild 2226 +MD5 e1fc0193be962bb1073ec3497b0ad1e3 rrdtool-1.0.42.ebuild 2225 MD5 97610425876ad7e680316d1a3e808c4b files/digest-rrdtool-1.0.40 67 MD5 6e61ce85825b075dfa4829b7d7f58ab3 files/digest-rrdtool-1.0.41 132 MD5 e2341044ceaf46443ec4c577647d9cae files/digest-rrdtool-1.0.42 67 diff --git a/net-analyzer/rrdtool/files/digest-rrdtool-1.0.42 b/net-analyzer/rrdtool/files/digest-rrdtool-1.0.42 new file mode 100644 index 000000000000..7a1bba600873 --- /dev/null +++ b/net-analyzer/rrdtool/files/digest-rrdtool-1.0.42 @@ -0,0 +1 @@ +MD5 20183bf09b52030a6e29a0678930bb42 rrdtool-1.0.42.tar.gz 1158148 diff --git a/net-analyzer/rrdtool/rrdtool-1.0.42.ebuild b/net-analyzer/rrdtool/rrdtool-1.0.42.ebuild new file mode 100644 index 000000000000..65b3b616790b --- /dev/null +++ b/net-analyzer/rrdtool/rrdtool-1.0.42.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.42.ebuild,v 1.1 2003/04/16 16:36:28 mholzer Exp $ + +inherit perl-module + +DESCRIPTION="A system to store and display time-series data" +SRC_URI="http://people.ee.ethz.ch/%7Eoetiker/webtools/rrdtool/pub/${P}.tar.gz" +HOMEPAGE="http://ee-staff.ethz.ca/~oetiker/webtools/rrdtool/" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc" +IUSE="tcltk perl" + +filter-flags "-mfpmath=sse -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-post_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 + perl-post_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 CHANGES COPY* CONTR* README TODO +} + + +pkg_preinst() { + use perl && perl-post_pkg_preinst +} + +pkg_postinst() { + use perl && perl-post_pkg_postinst +} + +pkg_prerm() { + use perl && perl-post_pkg_prerm +} + +pkg_postrm() { + use perl && perl-post_pkg_postrm +} |