2022-04-05 18:13:29 +02:00
|
|
|
# Copyright 1999-2022 Gentoo Authors
|
2011-06-17 20:54:30 +02:00
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
2023-07-20 20:28:34 +02:00
|
|
|
EAPI=8
|
2011-06-17 20:54:30 +02:00
|
|
|
|
2023-07-20 20:28:34 +02:00
|
|
|
inherit webapp
|
2011-06-17 20:54:30 +02:00
|
|
|
|
|
|
|
DESCRIPTION="php Directory listing script"
|
|
|
|
HOMEPAGE="http://www.evoluted.net/community/code/directorylisting.php"
|
2022-04-05 18:13:29 +02:00
|
|
|
SRC_URI="https://www.evoluted.net/assets/thinktank/wp-content/uploads/2019/12/evoluted-directory-listing-script-5.0.0.zip"
|
2011-06-17 20:54:30 +02:00
|
|
|
|
|
|
|
LICENSE="GPL-2"
|
2022-04-05 18:13:29 +02:00
|
|
|
KEYWORDS="~amd64 ~x86"
|
2011-06-17 20:54:30 +02:00
|
|
|
IUSE=""
|
|
|
|
|
2022-04-05 18:13:29 +02:00
|
|
|
DEPEND=">=dev-lang/php-7.1"
|
2011-06-17 20:54:30 +02:00
|
|
|
|
|
|
|
need_httpd_cgi
|
|
|
|
|
2022-04-05 18:13:29 +02:00
|
|
|
S="${WORKDIR}"/Evoluted-Directory-Listing-Script
|
2011-06-17 20:54:30 +02:00
|
|
|
|
|
|
|
pkg_setup() {
|
|
|
|
webapp_pkg_setup
|
|
|
|
}
|
|
|
|
|
|
|
|
src_prepare() {
|
2022-04-05 18:13:29 +02:00
|
|
|
rm -rf .git
|
|
|
|
rm -rf *.md
|
2011-06-17 20:54:30 +02:00
|
|
|
edos2unix index.php
|
2022-04-05 18:13:29 +02:00
|
|
|
#edos2unix dlf/i.php
|
|
|
|
#edos2unix dlf/styles.css
|
|
|
|
|
|
|
|
eapply_user
|
2011-06-17 20:54:30 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
webapp_src_preinst
|
|
|
|
|
|
|
|
insinto "${MY_HTDOCSDIR}"
|
|
|
|
doins -r .
|
|
|
|
|
|
|
|
webapp_configfile "${MY_HTDOCSDIR}"/index.php
|
|
|
|
|
|
|
|
webapp_postinst_txt en "${FILESDIR}"/postinstall-en.txt
|
|
|
|
webapp_src_install
|
|
|
|
}
|