git: switch to Python 2.7
[unleashed-userland.git] / components / gnome-terminal / Makefile
blobf76770a45e0acdcb821f4961596e405d929dec8a
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) 2014 Alexander Pyhalov
15 include ../../make-rules/shared-macros.mk
17 COMPONENT_NAME= gnome-terminal
18 COMPONENT_VERSION= 2.32.1
19 COMPONENT_PROJECT_URL= http://www.gnome.org
20 COMPONENT_SUMMARY= GNOME terminal emulator
21 COMPONENT_FMRI= terminal/gnome-terminal
22 COMPONENT_CLASSIFICATION= Applications/System Utilities
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:7f41e4b185a2cf65ff417b89e429fc3b625c5e3f042ee1763bda6490fa4676fb
27 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.32/$(COMPONENT_ARCHIVE)
29 include $(WS_TOP)/make-rules/prep.mk
30 include $(WS_TOP)/make-rules/configure.mk
31 include $(WS_TOP)/make-rules/ips.mk
33 PATH=/usr/gnu/bin:/usr/bin
35 COMPONENT_PREP_ACTION = ( cd $(@D) && \
36 intltoolize --force --copy --automake &&\
37 libtoolize --copy --force &&\
38 aclocal -I . &&\
39 autoconf &&\
40 autoheader &&\
41 automake -c -f -a )
43 COMPONENT_PRE_CONFIGURE_ACTION = (chmod -R u+r $(SOURCE_DIR) && cp -rp $(SOURCE_DIR)/* $(@D) && \
44 cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \
45 cd $(@D)/po-sun && $(MAKE) all )
47 CONFIGURE_OPTIONS+= --sysconfdir=/etc
48 CONFIGURE_OPTIONS+= --disable-scrollkeeper
49 CONFIGURE_OPTIONS+= --localstatedir=/var/lib
51 COMPONENT_INSTALL_ENV += GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
53 # common targets
54 build: $(BUILD_32)
56 install: $(INSTALL_32)
58 test: $(NO_TESTS)
60 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
62 include $(WS_TOP)/make-rules/depend.mk