mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 18:12:39 +01:00
www-servers/tang: add ebuild
This commit is contained in:
37
www-servers/tang/tang-6.ebuild
Normal file
37
www-servers/tang/tang-6.ebuild
Normal file
@@ -0,0 +1,37 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools systemd
|
||||
|
||||
DESCRIPTION="Tang is a server for binding data to network presence"
|
||||
HOMEPAGE="https://latchset.github.io/"
|
||||
SRC_URI="https://github.com/latchset/${PN}/releases/download/v${PV}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="nagios"
|
||||
|
||||
DEPEND=">=net-libs/http-parser-2.8.0
|
||||
sys-apps/systemd
|
||||
>=dev-libs/jose-8"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-optional-nagios.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
$(use_enable nagios nagiosplugin)
|
||||
--localstatedir="${EPREFIX}/var"
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
Reference in New Issue
Block a user