diff options
| author | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [master] <gitlab@liguros.net> | 2021-01-17 23:35:33 +0000 |
| commit | 8e8120eabdd28020aa69c7a60505cce2edd20adc (patch) | |
| tree | 061bf0acdc672720e0bc3a2d575f67d25aedb2d8 /app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild | |
| parent | c16790af2c9b4cbc38e565d4311252193ff85484 (diff) | |
| download | baldeagleos-repo-21.1.2.tar.gz baldeagleos-repo-21.1.2.tar.xz baldeagleos-repo-21.1.2.zip | |
Updating liguros repo21.1.2
Diffstat (limited to 'app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild')
| -rw-r--r-- | app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild b/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild new file mode 100644 index 000000000000..b208f71a0dc2 --- /dev/null +++ b/app-metrics/nginx-lua-prometheus/nginx-lua-prometheus-0.1_pre20170610-r100.ebuild @@ -0,0 +1,39 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +# This should be kept in sync with implementations supported +# by www-servers/nginx +LUA_COMPAT=( lua5-{1..4} luajit ) + +# This is the upstream tag which corresponds to this release. +# It needs to be updated with every bump. +TAG="0.1-20170610" + +inherit lua-single + +DESCRIPTION="Library that exports Nginx metrics to Prometheus" +HOMEPAGE="https://github.com/knyar/nginx-lua-prometheus" +SRC_URI="https://github.com/knyar/${PN}/archive/${TAG}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +REQUIRED_USE="${LUA_REQUIRED_USE}" + +COMMON_DEPEND="${LUA_DEPS}" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND} + www-servers/nginx[nginx_modules_http_lua,${LUA_SINGLE_USEDEP}]" +BDEPEND="${COMMON_DEPEND} + virtual/pkgconfig" + +S="${WORKDIR}/${PN}-${TAG}" + +src_install() { + insinto "$(lua_get_lmod_dir)"/${PN} + doins prometheus.lua + dodoc *.md +} |
