summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Kislyuk <weaver@gentoo.org>2009-12-07 13:46:22 +0000
committerAndrey Kislyuk <weaver@gentoo.org>2009-12-07 13:46:22 +0000
commit1ceaba1e41919fb381403dde7622c32f9e87044c (patch)
tree1d7d33620a11122eaa5bf8e0ad9559b60af42747 /app-admin/rackview/rackview-0.09-r2.ebuild
parentFix homepage, add herd. (diff)
downloadhistorical-1ceaba1e41919fb381403dde7622c32f9e87044c.tar.gz
historical-1ceaba1e41919fb381403dde7622c32f9e87044c.tar.bz2
historical-1ceaba1e41919fb381403dde7622c32f9e87044c.zip
Use webapp slots to avoid collisions, fix bug 256230
Package-Manager: portage-2.2_rc30/cvs/Linux x86_64
Diffstat (limited to 'app-admin/rackview/rackview-0.09-r2.ebuild')
-rw-r--r--app-admin/rackview/rackview-0.09-r2.ebuild51
1 files changed, 51 insertions, 0 deletions
diff --git a/app-admin/rackview/rackview-0.09-r2.ebuild b/app-admin/rackview/rackview-0.09-r2.ebuild
new file mode 100644
index 000000000000..e895e249e05f
--- /dev/null
+++ b/app-admin/rackview/rackview-0.09-r2.ebuild
@@ -0,0 +1,51 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-admin/rackview/rackview-0.09-r2.ebuild,v 1.1 2009/12/07 13:46:22 weaver Exp $
+
+EAPI="2"
+
+inherit perl-module webapp
+
+DESCRIPTION="Generate HTML page displaying computer rack layout"
+HOMEPAGE="http://rackview.sourceforge.net"
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+SLOT="0"
+WEBAPP_MANUAL_SLOT="yes"
+
+DEPEND="dev-lang/perl
+ >=dev-perl/Config-Simple-4.1
+ >=dev-perl/GD-1.41
+ >=dev-perl/Eidetic-2
+ >=virtual/perl-File-Spec-0.83
+ >=virtual/perl-File-Temp-0.12
+ >=www-apache/mod_auth_mysql-3.0.0-r2
+ !<=app-admin/rackview-0.09-r1"
+
+RDEPEND=""
+
+src_install() {
+ webapp_src_preinst
+ myinst="${myinst} DESTDIR=${D} INSTBINDIR=${D}/usr/bin"
+ perl-module_src_install
+
+ insinto ${MY_HTDOCSDIR}
+ doins example/index.html example/top_view.png example/top_view.svg
+ doins images
+
+ insinto ${MY_CGIBINDIR}
+ doins cgi-bin/*
+
+ insinto /etc/eidetic
+ doins example/example.dat
+
+ insinto /etc/rackview
+ doins etc/*
+
+ dodoc doc/*
+
+ webapp_src_install
+}