summaryrefslogtreecommitdiff
path: root/www-misc/webstat/webstat-0.5.1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'www-misc/webstat/webstat-0.5.1.ebuild')
-rw-r--r--www-misc/webstat/webstat-0.5.1.ebuild35
1 files changed, 35 insertions, 0 deletions
diff --git a/www-misc/webstat/webstat-0.5.1.ebuild b/www-misc/webstat/webstat-0.5.1.ebuild
new file mode 100644
index 0000000..e36cf0e
--- /dev/null
+++ b/www-misc/webstat/webstat-0.5.1.ebuild
@@ -0,0 +1,35 @@
+EAPI=8
+inherit bjam
+
+DESCRIPTION="WebStat web site access analyser"
+HOMEPAGE="https://git.randomdan.homeip.net/repo/webstat/"
+SRC_URI="https://git.randomdan.homeip.net/repo/${PN}/snapshot/${P}.tar.xz
+ https://github.com/eliaskosunen/scnlib/archive/refs/tags/v4.0.1.tar.gz -> scnlib-4.0.1.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ app-crypt/libmd
+ >=dev-libs/libdbpp-1.4.10:=
+ >=dev-libs/libdbpp-postgresql-1.4.10
+ >=dev-libs/libadhocutil-0.9.3:="
+RDEPEND="${DEPEND}"
+BDEPEND="${DEPEND}
+ virtual/pkgconfig
+ dev-build/b2"
+
+src_prepare() {
+ default
+ rmdir ${S}/thirdparty/scnlib
+ ln -sf ${WORKDIR}/scnlib-4.0.1 ${S}/thirdparty/scnlib
+}
+
+src_compile() {
+ bjambuild src//webstat_logger
+}
+
+src_install() {
+ bjaminstall install
+}