net-analyzer/AS-Stats:
Package-Manager: Portage-2.3.99, Repoman-2.3.22
This commit is contained in:
parent
8200be5848
commit
b397cba419
|
@ -11,10 +11,12 @@ EGIT_REPO_URI="https://github.com/manuelkasper/AS-Stats.git"
|
|||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS=""
|
||||
IUSE="+as-stat-gui +ip2as"
|
||||
IUSE="+as-stats-gui +ip2as"
|
||||
|
||||
DEPEND="
|
||||
as-stat-gui? ( www-misc/as-stats-gui )
|
||||
acct-group/AS-Stats
|
||||
acct-user/AS-Stats
|
||||
as-stats-gui? ( www-misc/as-stats-gui )
|
||||
dev-lang/php:*[sqlite]
|
||||
dev-perl/DBD-SQLite
|
||||
dev-perl/File-Find-Rule
|
||||
|
@ -27,6 +29,13 @@ DEPEND="
|
|||
RDEPEND="${DEPEND}"
|
||||
BDEPEND=""
|
||||
|
||||
src_compile() {
|
||||
if use as-stats-gui; then
|
||||
rm -rf www
|
||||
ln -s /usr/share/as-stats-gui www
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
webapp_src_preinst
|
||||
|
||||
|
@ -36,9 +45,5 @@ src_install() {
|
|||
insinto "${MY_HTDOCSDIR}/"
|
||||
doins -r .
|
||||
|
||||
use as-stat-gui && \
|
||||
rm -rf www && \
|
||||
ln -s "${PREFIX}"/usr/share/as-stat-gui www
|
||||
|
||||
webapp_src_install
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<email>alarig@swordarmor.fr</email>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="as-stat-gui">Use the improved webUI</flag>
|
||||
<flag name="as-stats-gui">Use the improved webUI</flag>
|
||||
<flag name="ip2as">Use the perl module ip2as.pm</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
Loading…
Reference in a new issue