]> git.ipfire.org Git - people/arne_f/ipfire-3.x.git/blame - lfs/eventlog
Changed name to IPFire-3.0-alpha1 (Lechery).
[people/arne_f/ipfire-3.x.git] / lfs / eventlog
CommitLineData
cd1a2927 1###############################################################################
cd1a2927 2# #
70df8302
MT
3# IPFire.org - A linux based firewall #
4# Copyright (C) 2007 Michael Tremer & Christian Schmidt #
5# #
6# This program is free software: you can redistribute it and/or modify #
cd1a2927 7# it under the terms of the GNU General Public License as published by #
70df8302 8# the Free Software Foundation, either version 3 of the License, or #
cd1a2927
MT
9# (at your option) any later version. #
10# #
70df8302 11# This program is distributed in the hope that it will be useful, #
cd1a2927
MT
12# but WITHOUT ANY WARRANTY; without even the implied warranty of #
13# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the #
14# GNU General Public License for more details. #
15# #
16# You should have received a copy of the GNU General Public License #
70df8302 17# along with this program. If not, see <http://www.gnu.org/licenses/>. #
cd1a2927 18# #
cd1a2927
MT
19###############################################################################
20
21###############################################################################
22# Definitions
23###############################################################################
24
25include Config
26
d178ccd6 27PKG_NAME = eventlog
8985a698
MT
28PKG_VER = 0.2.9
29PKG_REL = 0
cd1a2927 30
8985a698 31THISAPP = $(PKG_NAME)-$(PKG_VER)
0e61af85 32DL_FILE = $(THISAPP).tar.gz
cd1a2927 33DIR_APP = $(DIR_SRC)/$(THISAPP)
0e61af85 34
6679675b 35OBJECT = $(DIR_INFO)/$(STAGE_ORDER)_$(STAGE)/$(THISAPP)
cd1a2927 36
d178ccd6
MT
37MAINTAINER =
38GROUP = System/Tools
39EXTRA = no
40DEBUG = no
41DEPS =
42
43URL = http://www.balabit.com/
44LICENSE = GPLv2+
45SHORT_DESC = Eventlog is an API for syslog-ng.
46
47define LONG_DESC
48 A new API to format and send structured log messages. It supports multiple \
49 message representations (plain, XML attributes and XML tags) and multiple \
50 output methods (local syslogd).
51endef
52
cd1a2927
MT
53###############################################################################
54# Top-level Rules
55###############################################################################
56
d178ccd6
MT
57objects = $(DL_FILE)
58
59download: $(objects)
cd1a2927 60
56399803
MT
61info:
62 $(DO_PKG_INFO)
63
d178ccd6 64install: $(OBJECT)
cd1a2927 65
d178ccd6
MT
66package:
67 @$(DO_PACKAGE)
cd1a2927 68
d178ccd6 69$(objects):
cd1a2927
MT
70 @$(LOAD)
71
cd1a2927
MT
72###############################################################################
73# Installation Details
74###############################################################################
75
d178ccd6 76$(OBJECT): $(objects)
cd1a2927 77 @$(PREBUILD)
d178ccd6 78 @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE)
d6a5e749 79
d178ccd6
MT
80 cd $(DIR_APP) && \
81 ./configure \
82 --prefix=/usr
d6a5e749 83 cd $(DIR_APP) && make $(PARALLELISMFLAGS)
9b0ff0a0 84 cd $(DIR_APP) && make install
506039a5 85
b1356059
MT
86 mv -v /usr/lib/libevtlog.so.0* /lib
87 ln -svf ../../lib/libevtlog.so.0.* /usr/lib/libevtlog.so
d178ccd6 88
cd1a2927
MT
89 @rm -rf $(DIR_APP)
90 @$(POSTBUILD)