vim: update to 9.1.0984
[oi-userland.git] / components / library / gnome-vfs / Makefile
blob9095b639b02c9f122959799d1b5a1834771129ed
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
5 # 1.0 of the CDDL.
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 BUILD_BITS= 32_and_64
17 USE_DEFAULT_TEST_TRANSFORMS= yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= gnome-vfs
21 COMPONENT_VERSION= 2.24.4
22 COMPONENT_REVISION= 7
23 COMPONENT_FMRI= library/gnome/gnome-vfs
24 COMPONENT_SUMMARY= GNOME virtual file system framework
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
27 COMPONENT_ARCHIVE_HASH= sha256:62de64b5b804eb04104ff98fcd6a8b7276d510a49fbd9c0feb568f8996444faa
28 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/2.24/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL= https://www.gnome.org
30 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
31 COMPONENT_LICENSE= GPLv2
32 COMPONENT_LICENSE_FILE= COPYING
34 include $(WS_MAKE_RULES)/common.mk
36 COMPONENT_PRE_CONFIGURE_ACTION= ( cp -r $(SOURCE_DIR)/* $(@D) && \
37 cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \
38 cd $(@D)/po-sun && $(MAKE) all &&\
39 cd $(@D) && glib-gettextize --force --copy &&\
40 libtoolize --automake --copy --force && \
41 glib-gettextize --force &&\
42 intltoolize --force --copy --automake &&\
43 aclocal -I . &&\
44 gtkdocize &&\
45 autoheader &&\
46 automake -a -f -c --gnu &&\
47 autoconf )
49 CONFIGURE_SCRIPT= $(@D)/configure
51 PATH= $(PATH.gnu)
53 CONFIGURE_OPTIONS += --sysconfdir=/etc
54 CONFIGURE_OPTIONS += --enable-fam
55 CONFIGURE_OPTIONS += --enable-samba
56 CONFIGURE_OPTIONS += --with-samba-includes=/usr/include/libsmbclient
57 CONFIGURE_OPTIONS += --with-samba-libs=/usr/lib/libsmbclient
58 CONFIGURE_OPTIONS.32 += --libexecdir=/usr/lib
59 CONFIGURE_OPTIONS.64 += --libexecdir=/usr/lib/$(MACH64)
60 CONFIGURE_OPTIONS.64 += --disable-avahi
62 CONFIGURE_ENV += PERL=$(PERL)
64 COMPONENT_INSTALL_ENV += GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
66 # Tests fail with SHELLOPTS set:
67 unexport SHELLOPTS
69 # Build dependencies
70 REQUIRED_PACKAGES += desktop/gnome-mime-data
72 # Auto-generated dependencies
73 REQUIRED_PACKAGES += compress/bzip2
74 REQUIRED_PACKAGES += gnome/config/gconf
75 REQUIRED_PACKAGES += library/file-monitor/gamin
76 REQUIRED_PACKAGES += library/glib2
77 REQUIRED_PACKAGES += library/libxml2
78 REQUIRED_PACKAGES += library/samba/libsmbclient
79 REQUIRED_PACKAGES += library/security/openssl
80 REQUIRED_PACKAGES += library/zlib
81 REQUIRED_PACKAGES += service/hal
82 REQUIRED_PACKAGES += system/library
83 REQUIRED_PACKAGES += system/library/libdbus
84 REQUIRED_PACKAGES += system/library/libdbus-glib
85 REQUIRED_PACKAGES += system/network/avahi