wok view icinga/receipt @ rev 24659

updated icinga (1.2.1 -> 1.14.2)
author Hans-G?nter Theisgen
date Fri Mar 11 09:30:17 2022 +0100 (2022-03-11)
parents 535c806240cc
children 7de87766c29c
line source
1 # SliTaz package receipt.
3 PACKAGE="icinga"
4 VERSION="1.14.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Open Source host, service and network monitoring program."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://icinga.com"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/$PACKAGE-core/archive/v$VERSION/$TARBALL"
14 DEPENDS="libdbi"
15 BUILD_DEPENDS="libdbi-dev"
17 CONFIG_FILES="/etc/icinga/icinga.cfg"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://github.com/Icinga/icinga2/releases 2>/dev/null | \
23 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 ./configure \
31 --prefix=/usr \
32 --exec-prefix=/usr/bin \
33 --bindir=/usr/bin \
34 --sbindir=/usr/lib/icinga/cgi \
35 --libexecdir=/usr/lib/icinga/plugins \
36 --datadir=/usr/share/icinga \
37 --localstatedir=/var/log/icinga \
38 --sysconfdir=/etc/icinga \
39 --with-command-group=www \
40 --with-command-user=nobody \
41 --with-htmurl=/icinga \
42 --with-icinga-group=nogroup \
43 --with-icinga-user=nobody \
44 --with-lockfile=/var/run/icinga.pid \
45 --with-mail=/usr/bin/mailx \
46 $CONFIGURE_ARGS &&
47 make all &&
48 make install &&
49 make install-api &&
50 make install-commandmode &&
51 make install-config &&
52 make install-idoutils &&
53 make install-webconf &&
54 }
56 # Rules to gen a SliTaz package suitable for Tazpkg.
57 genpkg_rules()
58 {
59 cook_copy_folders bin
60 }