diff options
author | Mike Frysinger <vapier@gentoo.org> | 2003-01-20 15:51:07 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2003-01-20 15:51:07 +0000 |
commit | 62a7067906e849d9053e0c0849aa356ca812066d (patch) | |
tree | 9d31b15a5151143b9fa4293ee5e0d0483d628ce1 /net-analyzer/rrdtool | |
parent | added ppc to KEYWORDS (diff) | |
download | gentoo-2-62a7067906e849d9053e0c0849aa356ca812066d.tar.gz gentoo-2-62a7067906e849d9053e0c0849aa356ca812066d.tar.bz2 gentoo-2-62a7067906e849d9053e0c0849aa356ca812066d.zip |
added ppc to KEYWORDS
Diffstat (limited to 'net-analyzer/rrdtool')
-rw-r--r-- | net-analyzer/rrdtool/rrdtool-1.0.39.ebuild | 30 | ||||
-rw-r--r-- | net-analyzer/rrdtool/rrdtool-1.0.40.ebuild | 33 |
2 files changed, 18 insertions, 45 deletions
diff --git a/net-analyzer/rrdtool/rrdtool-1.0.39.ebuild b/net-analyzer/rrdtool/rrdtool-1.0.39.ebuild index 2217a315a2a2..dfc87be2ada0 100644 --- a/net-analyzer/rrdtool/rrdtool-1.0.39.ebuild +++ b/net-analyzer/rrdtool/rrdtool-1.0.39.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 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.39.ebuild,v 1.8 2002/12/13 19:55:41 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.39.ebuild,v 1.9 2003/01/20 15:51:07 vapier Exp $ inherit perl-module @@ -24,34 +24,28 @@ pkg_setup() { use tcltk && \ TCLVER=`awk -F\' '/TCL_VERSION/ {print $2}' /usr/lib/tclConfig.sh` - use perl && ( \ - perl-post_pkg_setup - ) + 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 () { - +src_install() { einstall || die # this package completely ignores mandir settings - doman doc/*.1 dohtml doc/*.html dodoc doc/*.pod @@ -60,7 +54,6 @@ src_install () { rm -rf ${D}/usr/doc rm -rf ${D}/usr/html rm -rf ${D}/usr/man - a rm -rf ${D}/usr/contrib rm -rf ${D}/usr/examples @@ -69,43 +62,36 @@ src_install () { insinto /usr/share/doc/${PF}/contrib doins contrib/* - use perl && ( \ + if [ `use perl` ] ; then perl_perlinfo mytargets="site-perl-install" perl-module_src_install || die - ) + fi - use tcltk && ( \ + 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 } diff --git a/net-analyzer/rrdtool/rrdtool-1.0.40.ebuild b/net-analyzer/rrdtool/rrdtool-1.0.40.ebuild index 8eea8ce123dd..5c467a00ca81 100644 --- a/net-analyzer/rrdtool/rrdtool-1.0.40.ebuild +++ b/net-analyzer/rrdtool/rrdtool-1.0.40.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 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.40.ebuild,v 1.1 2003/01/18 19:12:04 mholzer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.40.ebuild,v 1.2 2003/01/20 15:51:07 vapier Exp $ inherit perl-module @@ -24,13 +24,10 @@ pkg_setup() { use tcltk && \ TCLVER=`awk -F\' '/TCL_VERSION/ {print $2}' /usr/lib/tclConfig.sh` - use perl && ( \ - perl-post_pkg_setup - ) + use perl && perl-post_pkg_setup } src_compile() { - local myconf use tcltk \ && myconf="${myconf} --with-tcllib=/usr/lib" \ @@ -42,12 +39,10 @@ src_compile() { --with-perl-options='INSTALLMAN1DIR=/usr/share/man/man1 INSTALLMAN3DIR=/usr/share/man/man3 PREFIX=${D}/usr' \ ${myconf} || die - make || die } -src_install () { - +src_install() { einstall || die # this package completely ignores mandir settings @@ -56,56 +51,48 @@ src_install () { 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/* - use perl && ( \ + if [ `use perl` ] ; then perl-post_perlinfo mytargets="site-perl-install" perl-module_src_install || die - ) + fi - use tcltk && ( \ + 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() { - +pkg_prerm() { use perl && perl-post_pkg_prerm } - pkg_postrm() { - use perl && perl-post_pkg_postrm } - |