introducing racktables-0.20.7
This commit is contained in:
parent
44256eacbc
commit
84cd11a295
2
www-apps/racktables/Manifest
Normal file
2
www-apps/racktables/Manifest
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
DIST RackTables-0.20.7.tar.gz 885208 SHA256 813a50db3c653bdebd59dcf749d8953c905c6cdae16e58bbe064dba51f2ead5d SHA512 8791726a3a72f536ba3880ae51f9e4c5734c58aa2058b4d32c5f3fa73e7e273ca5420a85428cbe711d68be622f1bf0b418a8ffcbd093ed7471ef702878ac7c17 WHIRLPOOL 29a03f2eea9af41bd9ca3cbac9c72f760be667b2f2b418ce24e1c6374c23a1d9049bac715097a947109754cc6a173ceb016c58651667ac3e36ce79a960408a55
|
||||||
|
EBUILD racktables-0.20.7.ebuild 1009 SHA256 efda7686f52969aef66a01b77c1a4eae84bb750f8f4499c3adc7996fae303211 SHA512 8fa7153049c772fbf6455437d2b8c42f41b7d753e33af4672b8e4f67be988492d851819f33a5c4976a7b8b94281069320f3abdeb17858cc8a7fecd1a7d652e1b WHIRLPOOL 5897fefb4a52b2d80768c14c32ae48f98ee5930473e9c422ebdca6b3776de2260fb476ae0d70d5bf1848e12dcb0178f61517f66a6c8cd166c0e8bd4f78c21042
|
48
www-apps/racktables/racktables-0.20.7.ebuild
Normal file
48
www-apps/racktables/racktables-0.20.7.ebuild
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
# Copyright 1999-2014 Gentoo Foundation
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
# $Header: $
|
||||||
|
|
||||||
|
inherit depend.php eutils webapp
|
||||||
|
|
||||||
|
MY_PN="RackTables"
|
||||||
|
|
||||||
|
DESCRIPTION="Datacenter and Serverroom asset management"
|
||||||
|
HOMEPAGE="http://www.racktables.org/"
|
||||||
|
#SRC_URI="http://www.racktables.org/files/${MY_PN}-${PV}.tar.gz"
|
||||||
|
SRC_URI="mirror://sourceforge/racktables/${MY_PN}-${PV}.tar.gz"
|
||||||
|
|
||||||
|
RESTRICT=""
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
IUSE=""
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
need_httpd_fastcgi
|
||||||
|
need_php_httpd
|
||||||
|
|
||||||
|
S=${WORKDIR}/${MY_PN}-${PV}
|
||||||
|
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
webapp_pkg_setup
|
||||||
|
has_php
|
||||||
|
if [[ ${PHP_VERSION} == "4" ]] ; then
|
||||||
|
require_php_with_use expat
|
||||||
|
else
|
||||||
|
require_php_with_use mysql pdo
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
webapp_src_preinst
|
||||||
|
|
||||||
|
cp -R ./wwwroot/* ${D}/${MY_HTDOCSDIR}
|
||||||
|
cp -R ./gateways ./plugins ${D}/${MY_HOSTROOTDIR}
|
||||||
|
|
||||||
|
touch ${D}/${MY_HTDOCSDIR}/inc/secret.php
|
||||||
|
|
||||||
|
webapp_configfile "${MY_HTDOCSDIR}"/inc/secret.php
|
||||||
|
webapp_serverowned "${MY_HTDOCSDIR}"/inc/secret.php
|
||||||
|
|
||||||
|
webapp_src_install
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user