check_oracle_health: update to 1.9.3.5
[omd.git] / packages / mk-livestatus / Makefile
blob5d4d90fadbd033ef047a0cb5badb820829da6857
1 include ../../Makefile.omd
3 NAME = mk-livestatus
4 VERSION = 1.2.4
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 ; \