]>
Commit | Line | Data |
---|---|---|
eef47701 MT |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
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 # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = dbus | |
28 | PKG_VER = 1.2.16 | |
29 | PKG_REL = 0 | |
30 | ||
31 | PKG_MAINTAINER = | |
32 | PKG_GROUP = System/Daemons | |
33 | PKG_URL = http://www.freedesktop.org/software/dbus/ | |
34 | PKG_LICENSE = GPLv2+ AFL | |
35 | PKG_SUMMARY = D-BUS message bus. | |
36 | ||
37 | PKG_DEPS += expat | |
38 | ||
39 | define PKG_DESCRIPTION | |
40 | D-BUS is a system for sending messages between applications. It is \ | |
41 | used both for the system-wide message bus service, and as a \ | |
42 | per-user-login-session messaging facility. | |
43 | endef | |
44 | ||
45 | PKG_TARBALL = $(THISAPP).tar.gz | |
46 | ||
47 | CONFIGURE_OPTIONS += \ | |
48 | --sysconfdir=/etc \ | |
49 | --localstatedir=/var \ | |
d7291dc9 SS |
50 | --libdir=/lib \ |
51 | --libexecdir=/lib | |
52 | ||
53 | define STAGE_INSTALL_CMDS | |
54 | -mkdir -pv $(BUILDROOT)/usr/lib | |
55 | mv -v $(BUILDROOT)/lib/pkgconfig $(BUILDROOT)/usr/lib/ | |
56 | ||
6142f9c9 MT |
57 | #change the arch-deps.h include directory to /usr/lib instead of /lib |
58 | sed -e 's@-I$${libdir}@-I$${prefix}/lib@' -i $(BUILDROOT)/usr/lib/pkgconfig/dbus-1.pc | |
59 | ||
60 | -mkdir -pv $(BUILDROOT)/usr/lib/dbus-1.0/include | |
61 | mv -v $(BUILDROOT)/lib/dbus-1.0/include/* $(BUILDROOT)/usr/lib/dbus-1.0/include | |
62 | rm -rvf $(BUILDROOT)/lib/dbus-1.0 | |
63 | ||
d7291dc9 SS |
64 | rm -vf $(BUILDROOT)/lib/libdbus-1.so |
65 | ln -svf ../../lib/libdbus-1.so.3 $(BUILDROOT)/usr/lib/libdbus-1.so | |
66 | endef |