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