]>
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 | |
e8a408fb | 28 | PKG_VER = 1.4.0 |
7a659ffa | 29 | PKG_REL = 3 |
eef47701 MT |
30 | |
31 | PKG_MAINTAINER = | |
bb7d617c | 32 | PKG_GROUPS = System/Daemons |
eef47701 MT |
33 | PKG_URL = http://www.freedesktop.org/software/dbus/ |
34 | PKG_LICENSE = GPLv2+ AFL | |
35 | PKG_SUMMARY = D-BUS message bus. | |
36 | ||
e1cd4e4b | 37 | PKG_BUILD_DEPS+= audit-devel expat-devel libselinux-devel |
eef47701 MT |
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 | ||
e8a408fb | 45 | PKG_TARBALL = $(THISAPP).tar.gz |
eef47701 | 46 | |
920bbeb6 MT |
47 | PKG_PACKAGES += $(PKG_NAME)-devel $(PKG_NAME)-libs |
48 | ||
a5cfc571 MT |
49 | PKG_FILES-$(PKG_NAME)-devel += /usr/lib/dbus-1.0 |
50 | ||
eef47701 MT |
51 | CONFIGURE_OPTIONS += \ |
52 | --sysconfdir=/etc \ | |
53 | --localstatedir=/var \ | |
d7291dc9 | 54 | --libdir=/lib \ |
e1cd4e4b SS |
55 | --libexecdir=/lib \ |
56 | --enable-libaudit \ | |
e8a408fb | 57 | --enable-selinux=yes \ |
d8b11e86 SS |
58 | --with-systemdsystemunitdir=/lib/systemd/system/ \ |
59 | --with-dbus-user=dbus | |
d7291dc9 SS |
60 | |
61 | define STAGE_INSTALL_CMDS | |
62 | -mkdir -pv $(BUILDROOT)/usr/lib | |
63 | mv -v $(BUILDROOT)/lib/pkgconfig $(BUILDROOT)/usr/lib/ | |
64 | ||
6142f9c9 MT |
65 | #change the arch-deps.h include directory to /usr/lib instead of /lib |
66 | sed -e 's@-I$${libdir}@-I$${prefix}/lib@' -i $(BUILDROOT)/usr/lib/pkgconfig/dbus-1.pc | |
67 | ||
68 | -mkdir -pv $(BUILDROOT)/usr/lib/dbus-1.0/include | |
69 | mv -v $(BUILDROOT)/lib/dbus-1.0/include/* $(BUILDROOT)/usr/lib/dbus-1.0/include | |
70 | rm -rvf $(BUILDROOT)/lib/dbus-1.0 | |
71 | ||
d7291dc9 SS |
72 | rm -vf $(BUILDROOT)/lib/libdbus-1.so |
73 | ln -svf ../../lib/libdbus-1.so.3 $(BUILDROOT)/usr/lib/libdbus-1.so | |
74 | endef |