summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-01-20 15:51:07 +0000
committerMike Frysinger <vapier@gentoo.org>2003-01-20 15:51:07 +0000
commitd0fb0de168ff0164eab2eebbc0ead0e8d7aa67c3 (patch)
treeaab99b662ba828cadd17dffa730ea2fc83df5d61 /net-analyzer
parentadded ppc to KEYWORDS (diff)
downloadhistorical-d0fb0de168ff0164eab2eebbc0ead0e8d7aa67c3.tar.gz
historical-d0fb0de168ff0164eab2eebbc0ead0e8d7aa67c3.tar.bz2
historical-d0fb0de168ff0164eab2eebbc0ead0e8d7aa67c3.zip
added ppc to KEYWORDS
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.0.35-r3.ebuild43
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.0.39.ebuild30
-rw-r--r--net-analyzer/rrdtool/rrdtool-1.0.40.ebuild33
3 files changed, 31 insertions, 75 deletions
diff --git a/net-analyzer/rrdtool/rrdtool-1.0.35-r3.ebuild b/net-analyzer/rrdtool/rrdtool-1.0.35-r3.ebuild
index 484defb9b4d7..f10fc466252e 100644
--- a/net-analyzer/rrdtool/rrdtool-1.0.35-r3.ebuild
+++ b/net-analyzer/rrdtool/rrdtool-1.0.35-r3.ebuild
@@ -1,60 +1,51 @@
# 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.35-r3.ebuild,v 1.9 2002/12/09 04:33:09 manson Exp $
-
-IUSE="tcltk perl"
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/rrdtool/rrdtool-1.0.35-r3.ebuild,v 1.10 2003/01/20 15:51:07 vapier Exp $
inherit perl-module
-S=${WORKDIR}/${P}
DESCRIPTION="A system to store and display time-series data"
SRC_URI="http://ee-staff.ethz.ch/~oetiker/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"
+
DEPEND="perl? ( sys-devel/perl )
sys-apps/gawk
>=media-libs/libgd-1.8.3"
-
RDEPEND="tcltk? ( dev-lang/tcl )"
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="x86 sparc "
-
TCLVER=""
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
@@ -63,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
@@ -72,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
- )
+ }
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.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
}
-