diff options
Diffstat (limited to 'app-admin/rackview')
-rw-r--r-- | app-admin/rackview/rackview-0.04-r1.ebuild | 12 | ||||
-rw-r--r-- | app-admin/rackview/rackview-0.05.ebuild | 8 |
2 files changed, 11 insertions, 9 deletions
diff --git a/app-admin/rackview/rackview-0.04-r1.ebuild b/app-admin/rackview/rackview-0.04-r1.ebuild index bd77bf469300..8d52a4f3b02c 100644 --- a/app-admin/rackview/rackview-0.04-r1.ebuild +++ b/app-admin/rackview/rackview-0.04-r1.ebuild @@ -1,22 +1,24 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.04-r1.ebuild,v 1.5 2004/01/06 11:59:20 robbat2 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.04-r1.ebuild,v 1.6 2004/05/31 19:21:33 vapier Exp $ inherit perl-module -DESCRIPTION="rackview is a tool for visualizing the layout of rack-mounted equipment. The purpose of this tool is to assist in planning and tracking of hardware changes to racks in a data center, and to provide a host-oriented interface into other database tools." +DESCRIPTION="tool for visualizing the layout of rack-mounted equipment" +HOMEPAGE="http://rackview.sourceforge.net/" SRC_URI="mirror://sourceforge/rackview/rackview-${PV}.tar.gz" -HOMEPAGE="http://rackview.sf.net" +LICENSE="Artistic" SLOT="0" KEYWORDS="x86" -LICENSE="Artistic" IUSE="apache2 mysql" + DEPEND="dev-lang/perl dev-perl/GD dev-perl/DBI mysql? ( dev-db/mysql )" -DOCS="ChangeLog COPYING README* doc/*" + +DOCS="ChangeLog README* doc/*" src_install() { #In case of Apache diff --git a/app-admin/rackview/rackview-0.05.ebuild b/app-admin/rackview/rackview-0.05.ebuild index 0e5cecb751ab..e6bebf91c726 100644 --- a/app-admin/rackview/rackview-0.05.ebuild +++ b/app-admin/rackview/rackview-0.05.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.05.ebuild,v 1.5 2004/02/29 23:05:58 pyrania Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.05.ebuild,v 1.6 2004/05/31 19:21:33 vapier Exp $ inherit perl-module @@ -18,10 +18,10 @@ DEPEND="dev-lang/perl dev-perl/DBI mysql? ( dev-db/mysql )" -DOCS="ChangeLog COPYING README* doc/*" +DOCS="ChangeLog README* doc/*" src_install() { - if [ `use apache2` ] ; then + if use apache2 ; then #In case of Apache HTTPD_ROOT="`grep '^DocumentRoot' /etc/apache2/conf/apache2.conf | cut -d\ -f2`" \ HTTPD_USER="`grep '^User' /etc/apache2/conf/commonapache2.conf | cut -d \ -f2`" \ @@ -82,7 +82,7 @@ src_install() { } pkg_postinst() { - if [ `use mysql` ] ; then + if use mysql ; then einfo "To load data from mysql, change 'dat' in 'db'" \ einfo "in /etc/${PN}/${PN}.conf" \ einfo "SQL files for creating these tables are available" \ |