gcc-6: don't ship info pages
[unleashed-userland.git] / components / python / gnome-python-extras / Makefile
blob8431dfad418235430722bd3009b9435dc0dec235
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.
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.
12 # Copyright (c) 2013 Alexander Pyhalov
15 include ../../../make-rules/shared-macros.mk
17 COMPONENT_NAME= gnome-python-extras
18 COMPONENT_VERSION= 2.25.3
19 COMPONENT_REVISION= 4
20 COMPONENT_PROJECT_URL= http://www.gnome.org
21 COMPONENT_SUMMARY= Supplemental Python bindings for GNOME
22 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
23 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
24 COMPONENT_ARCHIVE_HASH= \
25 sha256:ca346264e00e193f0866cabd8801d3b7ce70dae7b8b296e41e5b3a45c9b0275c
26 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.25/$(COMPONENT_ARCHIVE)
28 PATH=/usr/gnu/bin:/usr/bin
30 PYTHON_VERSIONS= 2.7
32 VARIANT_PYTHON27 = $(BUILD_DIR)/python-27
34 VARIANTS = $(VARIANT_PYTHON27)
36 BUILD_32 = $(VARIANTS:%=%/$(MACH32)/.built)
38 INSTALL_32 = $(VARIANTS:%=%/$(MACH32)/.installed)
40 $(VARIANT_PYTHON27)/$(MACH32)/.configured: PYTHON=$(PYTHON.2.7.32)
41 $(VARIANT_PYTHON27)/$(MACH32)/.configured: am_cv_python_pyexecdir=$(PYTHON.2.7.VENDOR_PACKAGES.32)
42 $(VARIANT_PYTHON27)/$(MACH32)/.configured: am_cv_python_pythondir=$(PYTHON.2.7.VENDOR_PACKAGES.32)
44 include $(WS_TOP)/make-rules/prep.mk
45 include $(WS_TOP)/make-rules/configure.mk
46 include $(WS_TOP)/make-rules/ips.mk
48 COMPONENT_PREP_ACTION = \
49 ( cd $(@D) ; \
50 autoreconf -i -f )
52 # Missing files in build dir for configure without this.
53 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
55 CONFIGURE_OPTIONS+= --sysconfdir=/etc
56 CONFIGURE_ENV+= PYTHON=$(PYTHON)
57 CONFIGURE_ENV+= am_cv_python_pythondir="$(am_cv_python_pythondir)"
58 CONFIGURE_ENV+= am_cv_python_pyexecdir="$(am_cv_python_pyexecdir)"
60 # common targets
61 build: $(BUILD_32)
63 install: $(INSTALL_32)
65 test: $(NO_TESTS)
67 REQUIRED_PACKAGES += gnome/config/gconf
68 REQUIRED_PACKAGES += library/desktop/gtk2
69 REQUIRED_PACKAGES += library/desktop/gtkspell
70 REQUIRED_PACKAGES += library/desktop/libbonoboui
71 REQUIRED_PACKAGES += library/desktop/libgksu
72 REQUIRED_PACKAGES += library/desktop/libgnomeui
73 REQUIRED_PACKAGES += library/desktop/libgtkhtml
74 REQUIRED_PACKAGES += library/glib2
75 REQUIRED_PACKAGES += library/gnome/gnome-vfs
76 REQUIRED_PACKAGES += system/library
77 REQUIRED_PACKAGES += x11/library/libx11