wok view icinga/receipt @ rev 25773

cookutils: fix svg compressor
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 13 16:25:52 2024 +0000 (2 months ago)
parents 7de87766c29c
children
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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-commandmode &&
50 make install-config &&
51 make install-idoutils &&
52 make install-webconf
53 }
55 # Rules to gen a SliTaz package suitable for Tazpkg.
56 genpkg_rules()
57 {
58 cook_copy_folders bin
59 cook_copy_folders etc
60 }