Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
339f52 1 #
AP 2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL)". You may
4 # only use this file in accordance with the terms of the CDDL.
5 #
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
9 #
10
11 #
12 # Copyright (c) 2014 Alexander Pyhalov. All rights reserved
13 #
14
025340 15 include ../../../make-rules/shared-macros.mk
339f52 16
AP 17 COMPONENT_NAME=        libbonobo
18 COMPONENT_VERSION=    2.32.1
7274f5 19 COMPONENT_REVISION=    2
339f52 20 COMPONENT_PROJECT_URL=    http://www.gnome.org
AP 21 COMPONENT_SUMMARY=    Bonobo Base Library
22 COMPONENT_SRC=        $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE=    $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH=    \
25     sha256:9160d4f277646400d3bb6b4fa73636cc6d1a865a32b9d0760e1e9e6ee624976b
26     
b7ef23 27 COMPONENT_ARCHIVE_URL=    https://download.gnome.org/sources/$(COMPONENT_NAME)/2.32/$(COMPONENT_ARCHIVE)
339f52 28
e3f4af 29 include $(WS_MAKE_RULES)/prep.mk
AL 30 include $(WS_MAKE_RULES)/configure.mk
31 include $(WS_MAKE_RULES)/ips.mk
339f52 32
e3f4af 33 PATH=$(PATH.gnu)
339f52 34
7772b0 35 COMPONENT_PREP_ACTION =        ( cd $(@D)  && \
AP 36                     libtoolize --copy --force &&\
37                     aclocal -I . &&\
38                     automake -c -f -a &&\
39                     autoconf )
40
339f52 41 CONFIGURE_OPTIONS.32 += --sysconfdir=/etc
AP 42 CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib
43 CONFIGURE_OPTIONS.64 += --sysconfdir=/etc/$(MACH64)
44 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
45
46 # common targets
47 build:        $(BUILD_32_and_64)
48
49 install:    $(INSTALL_32_and_64)
50
51 test:        $(NO_TESTS)
52
e3f4af 53 # Auto-generated dependencies
AL 54 REQUIRED_PACKAGES += library/glib2
55 REQUIRED_PACKAGES += library/libxml2
56 REQUIRED_PACKAGES += library/orbit2
57 REQUIRED_PACKAGES += runtime/perl-522
58 REQUIRED_PACKAGES += system/library
7274f5 59 REQUIRED_PACKAGES += developer/documentation-tool/gtk-doc