diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-03-20 00:40:44 +0000 |
commit | 4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch) | |
tree | 356496503d52354aa6d9f2d36126302fed5f3a73 /www-apps/sfpg/sfpg-4.9.0.ebuild | |
parent | fcc5224904648a8e6eb528d7603154160a20022f (diff) |
gentoo resync : 20.03.2022
Diffstat (limited to 'www-apps/sfpg/sfpg-4.9.0.ebuild')
-rw-r--r-- | www-apps/sfpg/sfpg-4.9.0.ebuild | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/www-apps/sfpg/sfpg-4.9.0.ebuild b/www-apps/sfpg/sfpg-4.9.0.ebuild new file mode 100644 index 000000000000..b57ac1408b7d --- /dev/null +++ b/www-apps/sfpg/sfpg-4.9.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit webapp + +MY_PN="${PN^^}" +MY_PV="fd8fa70739d18d786e88f7ffa57e250e0e41af8f" + +DESCRIPTION="A web gallery in one single PHP file" +HOMEPAGE="https://sye.dk/sfpg/" +SRC_URI="https://sye.dk/sfpg/Single_File_PHP_Gallery_${PV}.zip" +S="${WORKDIR}" + +LICENSE="sfpg" +KEYWORDS="~amd64 ~x86" +RESTRICT="bindist mirror" + +RDEPEND=" + dev-lang/php[gd] + virtual/httpd-php +" + +BDEPEND="app-arch/unzip" + +need_httpd_cgi + +DOCS=( "readme.txt" ) + +src_install() { + webapp_src_preinst + + einstalldocs + + insinto "${MY_HTDOCSDIR}" + doins index.php + + webapp_src_install +} + +pkg_postinst() { + webapp_pkg_postinst +} |