2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2016 Alexander Pyhalov
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 1.10.20
20 COMPONENT_SUMMARY
= Simple IPC library based on messages
21 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
22 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
23 COMPONENT_ARCHIVE_HASH
= \
24 sha256
:e574b9780b5425fde4d973bb596e7ea0f09e00fe2edd662da9016e976c460b48
25 COMPONENT_ARCHIVE_URL
= \
26 http
://dbus.freedesktop.org
/releases
/dbus
/$(COMPONENT_ARCHIVE
)
27 COMPONENT_SIG_URL
= $(COMPONENT_ARCHIVE_URL
).asc
28 COMPONENT_PROJECT_URL
= http
://www.freedesktop.org
/wiki
/Software_2fdbus
29 COMPONENT_LICENSE_FILE
= COPYING
30 COMPONENT_LICENSE
= GPLv2
,AFLv2.1
31 COMPONENT_CLASSIFICATION
= System
/Libraries
33 include $(WS_MAKE_RULES
)/prep.mk
34 include $(WS_MAKE_RULES
)/configure.mk
35 include $(WS_MAKE_RULES
)/ips.mk
39 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && autoreconf
--force --install )
41 CPPFLAGS
+= -std
=gnu89
43 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
44 CONFIGURE_OPTIONS
+= --libexecdir
=$(CONFIGURE_LIBDIR.
$(BITS
))
45 CONFIGURE_OPTIONS
+= --localstatedir
=/var
46 CONFIGURE_OPTIONS
+= --with-dbus-user
=root
47 CONFIGURE_OPTIONS
+= --with-dbus-daemondir
=$(CONFIGURE_LIBDIR.
$(BITS
))
48 CONFIGURE_OPTIONS
+= --disable-static
50 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
51 CONFIGURE_ENV
+= PERL
=$(PERL
)
52 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
54 build
: $(BUILD_32_and_64
)
56 install: $(INSTALL_32_and_64
)
60 REQUIRED_PACKAGES
+= developer
/documentation-tool
/doxygen
61 REQUIRED_PACKAGES
+= library
/expat
62 REQUIRED_PACKAGES
+= library
/gnome
/yelp-tools
63 REQUIRED_PACKAGES
+= SUNWcs
64 REQUIRED_PACKAGES
+= system
/library
65 REQUIRED_PACKAGES
+= text
/xmlto
66 REQUIRED_PACKAGES
+= x11
/library
/libx11