check_logfiles: 3.7.5.1
[omd.git] / packages / mk-livestatus / Makefile
blobadad4bddd189b14feb6e469dc5f9d066cea918f1
1 include ../../Makefile.omd
3 NAME = mk-livestatus
4 VERSION = 1.2.6p12
5 DIR = $(NAME)-$(VERSION)
7 CONFIGUREOPTS = \
8 --prefix=$(OMD_ROOT)
10 build:
11 tar xzf $(DIR).tar.gz
12 cd $(DIR) ; ./configure $(CONFIGUREOPTS)
13 $(MAKE) -C $(DIR) all
15 install:
16 $(MAKE) DESTDIR=$(DESTDIR) -C $(DIR) install
17 mkdir -p $(DESTDIR)$(OMD_ROOT)/bin
18 install -m 755 lq $(DESTDIR)$(OMD_ROOT)/bin
19 mkdir -p $(DESTDIR)$(OMD_ROOT)/lib/python
20 install -m 644 $(DIR)/api/python/livestatus.py $(DESTDIR)$(OMD_ROOT)/lib/python
22 skel:
24 clean:
25 rm -rf mk-livestatus-*.*.*[0-9]
27 upstream:
28 if [ ! -e mk-livestatus-$(VERSION).tar.gz ] ; then \
29 git rm mk-livestatus-*.tar.gz || true ; \
30 rm -f mk-livestatus-*.tar.gz ; \
31 wget http://mathias-kettner.de/download/mk-livestatus-$(VERSION).tar.gz ; \
32 git add mk-livestatus-$(VERSION).tar.gz ; \