summaryrefslogtreecommitdiff
path: root/www-apps
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps')
-rw-r--r--www-apps/mirrorsearch/Manifest2
-rw-r--r--www-apps/mirrorsearch/mirrorsearch-0.1.ebuild38
2 files changed, 40 insertions, 0 deletions
diff --git a/www-apps/mirrorsearch/Manifest b/www-apps/mirrorsearch/Manifest
new file mode 100644
index 0000000..8cbb44b
--- /dev/null
+++ b/www-apps/mirrorsearch/Manifest
@@ -0,0 +1,2 @@
+DIST mirrorsearch-0.1.tar.xz 10760 BLAKE2B ef6c924666a48d429bf80dd844019b19db6e5e97cecf6dc66e496a2e19a1bf88283d4f1fb5479b92131444db6f79297c23db0608b9d4b1007dca9fefc96a068e SHA512 00d6f8c4d24daddeae29f2cd536d4990023abbdd7aec4ed718423922aad3fc25b5567d17a98d63390c50a72d76a5d6efbe3024b8cba2ce890bb5a55566381b1c
+EBUILD mirrorsearch-0.1.ebuild 822 BLAKE2B f9d2e78303f8d7d8f1fef0f4ac536086d4dec635bebb7ca783be11dd0505e1d9eef0796fd5f413aab0d133e18c0b9ba00061af95239b021c34be75ada4d14135 SHA512 e3ef46dc4d2ee955b6b2b5501db4636043ad609241a9a299502c3a7ae11f660ada314c420dbed834f7c0d20a90f1e61765a8933fef4f0511908fc1aba11dcb05
diff --git a/www-apps/mirrorsearch/mirrorsearch-0.1.ebuild b/www-apps/mirrorsearch/mirrorsearch-0.1.ebuild
new file mode 100644
index 0000000..864cf9d
--- /dev/null
+++ b/www-apps/mirrorsearch/mirrorsearch-0.1.ebuild
@@ -0,0 +1,38 @@
+EAPI=6
+inherit webapp depend.apache eutils bjam
+
+DESCRIPTION="ICE and web service for locating files for download."
+HOMEPAGE="https://git.randomdan.homeip.net/repo/mirrorsearch/"
+SRC_URI="https://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz"
+
+LICENSE="GPL"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="
+ >=www-misc/icespider-0.2:=
+ dev-libs/icetray[tools]
+ dev-libs/libdbpp-postgresql
+"
+RDEPEND="${DEPEND}"
+
+pkg_setup() {
+ webapp_pkg_setup
+}
+
+src_compile() {
+ bjambuild service//mirrorsearch-service site//mirrorsearch-cgi
+}
+
+src_install () {
+ bjaminstall install{-bin,-site} \
+ --bindir=${D}/${MY_CGIBINDIR} \
+ --datarootdir=${D}/${MY_HTDOCSDIR}
+ webapp_src_preinst
+ dosym ${MY_CGIBINDIR}/mirrorsearch-cgi ${MY_HTDOCSDIR}/mirrorsearch-cgi
+ webapp_src_install
+
+ insinto /etc/${PN}
+ doins service/icebox.config
+}
+