summaryrefslogtreecommitdiff
path: root/www-apps/sfpg
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-12 19:09:37 -0500
commitb590c8d7572b727d565cc0b8ff660d43569845de (patch)
tree06f7a4102ea4e845df8b66660f252920d52952f9 /www-apps/sfpg
parent24f9cbfc4c34fdb6a6e03311674414e881ceab47 (diff)
downloadbaldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.gz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.tar.xz
baldeagleos-repo-b590c8d7572b727d565cc0b8ff660d43569845de.zip
Adding metadata
Diffstat (limited to 'www-apps/sfpg')
-rw-r--r--www-apps/sfpg/Manifest1
-rw-r--r--www-apps/sfpg/metadata.xml18
-rw-r--r--www-apps/sfpg/sfpg-4.11.0.ebuild44
3 files changed, 63 insertions, 0 deletions
diff --git a/www-apps/sfpg/Manifest b/www-apps/sfpg/Manifest
new file mode 100644
index 000000000000..6731ba569af4
--- /dev/null
+++ b/www-apps/sfpg/Manifest
@@ -0,0 +1 @@
+DIST Single_File_PHP_Gallery_4.11.0.zip 46577 BLAKE2B f02a82d522a142c688363cf1a5491e35c9a10dcebfca6e426f16e0db95564563a52c5a267436c8e421aa151b183d2f8f64e6a1c3bbe7618f37536ddc64f10a96 SHA512 34fed2519d8f33dd8c72df4921ccb10ddbf8c98fc0640bd4aa1da7fc66bce2c3538de8f040a86a52f6be927897a350ca54a09b940eabf248d1a34a8f4203499d
diff --git a/www-apps/sfpg/metadata.xml b/www-apps/sfpg/metadata.xml
new file mode 100644
index 000000000000..07f4f9db765f
--- /dev/null
+++ b/www-apps/sfpg/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>conikost@gentoo.org</email>
+ <name>Conrad Kostecki</name>
+ </maintainer>
+ <stabilize-allarches />
+ <longdescription>
+ Single File PHP Gallery is a web gallery in one single PHP file.
+ All you have to do is copy the script to any directory containing
+ images to make a gallery. Sub directories will be sub galleries.
+ Thumbnails for images and directories are generated automatically.
+ Single File PHP Gallery does not require any configuration
+ or programming skills to use.
+ </longdescription>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/www-apps/sfpg/sfpg-4.11.0.ebuild b/www-apps/sfpg/sfpg-4.11.0.ebuild
new file mode 100644
index 000000000000..b57ac1408b7d
--- /dev/null
+++ b/www-apps/sfpg/sfpg-4.11.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
+}