Marcel Telka
2022-01-31 b7ef23180b8258d99f0990e953e0eddbaaab32a5
commit | author | age
898588 1 #
AP 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.
6 #
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.
10 #
11
12 #
13 # Copyright 2015 Alexander Pyhalov
14 #
15
57305b 16 BUILD_BITS=32_and_64
18fde4 17 include ../../../make-rules/shared-macros.mk
898588 18
AP 19 COMPONENT_NAME= gamin
20 COMPONENT_VERSION= 0.1.10
57305b 21 COMPONENT_REVISION= 2
898588 22 COMPONENT_SUMMARY= Library providing the FAM File Alteration Monitor API
AP 23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
25 COMPONENT_ARCHIVE_HASH= \
26   sha256:28085f0ae8be10eab582ff186af4fb0be92cc6c62b5cc19cd09b295c7c2899a1
27 COMPONENT_ARCHIVE_URL= \
b7ef23 28   https://download.gnome.org/sources/$(COMPONENT_NAME)/0.1/$(COMPONENT_ARCHIVE)
898588 29 COMPONENT_PROJECT_URL = http://www.gnome.org
AP 30 COMPONENT_CLASSIFICATION = System/Libraries
31 COMPONENT_FMRI= library/file-monitor/gamin
32 COMPONENT_LICENSE= LGPLv2
33 COMPONENT_LICENSE_FILE= COPYING
34
57305b 35 TEST_TARGET=$(NO_TESTS)
18fde4 36
57305b 37 include $(WS_MAKE_RULES)/common.mk
AP 38
39 # Later python is not supported
40 PYTHON_VERSION = 2.7
41
42 PATH=$(PATH.gnu)
898588 43
AP 44 COMPONENT_PREP_ACTION =        ( cd $(@D)  && \
45                     libtoolize --copy --force &&\
46                     aclocal -I . &&\
47                     automake -c -f -a &&\
48                     autoconf )
49
50 CONFIGURE_OPTIONS += --sysconfdir=/etc
51 CONFIGURE_OPTIONS += --libexecdir=$(CONFIGURE_LIBDIR.$(BITS))
52 CONFIGURE_OPTIONS += --disable-static
18fde4 53 CONFIGURE_OPTIONS += --with-python=$(PYTHON.$(BITS))
898588 54
18fde4 55 CONFIGURE_ENV += pythondir=$(PYTHON_VENDOR_PACKAGES)
AP 56
57 REQUIRED_PACKAGES += library/glib2
58 REQUIRED_PACKAGES += runtime/python-27
59 REQUIRED_PACKAGES += system/library