vim: update to 9.1.0984
[oi-userland.git] / components / library / gamin / Makefile
blob932bac3e0a1707220b2d8c4de406bd08b1b24e7a
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 2015 Alexander Pyhalov
16 BUILD_BITS= 32_and_64
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= gamin
20 COMPONENT_VERSION= 0.1.10
21 COMPONENT_REVISION= 5
22 COMPONENT_SUMMARY= Library providing the FAM File Alteration Monitor API
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= sha256:28085f0ae8be10eab582ff186af4fb0be92cc6c62b5cc19cd09b295c7c2899a1
26 COMPONENT_ARCHIVE_URL= https://download.gnome.org/sources/$(COMPONENT_NAME)/0.1/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL= https://www.gnome.org
28 COMPONENT_FMRI= library/file-monitor/gamin
29 COMPONENT_CLASSIFICATION= System/Libraries
30 COMPONENT_LICENSE= LGPLv2
31 COMPONENT_LICENSE_FILE= COPYING
33 TEST_TARGET= $(NO_TESTS)
34 include $(WS_MAKE_RULES)/common.mk
36 PATH=$(PATH.gnu)
38 COMPONENT_PREP_ACTION= ( cd $(@D) && \
39 libtoolize --copy --force &&\
40 aclocal -I . &&\
41 automake -c -f -a &&\
42 autoconf )
44 COMPONENT_POST_INSTALL_ACTION.64 += \
45 EXT_SUFFIX=$(shell $(PYTHON) -c "import sysconfig; print(sysconfig.get_config_var('EXT_SUFFIX'))") ; \
46 $(MV) $(PROTO_DIR)$(PYTHON_LIB)/_gamin.so $(PROTO_DIR)$(PYTHON_LIB)/_gamin$$EXT_SUFFIX ;
48 CONFIGURE_OPTIONS += --sysconfdir=/etc
49 CONFIGURE_OPTIONS += --disable-static
50 CONFIGURE_OPTIONS.32 += --with-python=no
51 CONFIGURE_OPTIONS.64 += --with-python=/usr
52 CONFIGURE_OPTIONS += DAEMON_LIBS="-lglib-2.0 -lgobject-2.0 -lgio-2.0"
54 PYTHON_REQUIRED_PACKAGES += runtime/python
56 # Auto-generated dependencies
57 REQUIRED_PACKAGES += library/glib2
58 REQUIRED_PACKAGES += system/library