pcre: put 64-bit bins in usr/bin
[unleashed-userland.git] / components / metacity / Makefile
blob008f3cbb659278a56ad76eb970b4deef03ab6812
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
13 # Copyright (c) 2014 Ken Mays
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= metacity
19 COMPONENT_VERSION= 2.30.3
20 COMPONENT_REVISION= 2
21 COMPONENT_PROJECT_URL= http://www.gnome.org
22 COMPONENT_SUMMARY= GNOME window manager
23 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
24 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
25 COMPONENT_ARCHIVE_HASH= \
26 sha256:08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd
27 COMPONENT_ARCHIVE_URL= http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.30/$(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 = ( cp $(COMPONENT_DIR)/files/*.png $(@D)/src &&\
36 cd $(@D) &&\
37 libtoolize --copy --force &&\
38 intltoolize --force --copy &&\
39 aclocal -I . &&\
40 autoconf &&\
41 autoheader &&\
42 automake -c -f -a )
44 COMPONENT_PRE_CONFIGURE_ACTION = (cp -rp $(SOURCE_DIR)/* $(@D) && \
45 cp -r $(COMPONENT_DIR)/files/po-sun $(@D) && \
46 cd $(@D)/po-sun && $(MAKE) all )
48 CONFIGURE_SCRIPT = $(@D)/configure
50 CFLAGS += -Wno-deprecated-declarations
51 CFLAGS += -Icore -Iui
52 CFLAGS += -I/usr/X11/include -I/usr/include/freetype2 -DANSICPP -D__EXTENSIONS__
53 LDFLAGS += -L/usr/X11/lib -R/usr/X11/lib -lXrender
54 LDFLAGS += -lgthread-2.0
56 CONFIGURE_OPTIONS+= --sysconfdir=/etc
57 CONFIGURE_OPTIONS+= --libexecdir=/usr/lib
59 COMPONENT_INSTALL_ENV+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
61 # common targets
62 build: $(BUILD_32)
64 install: $(INSTALL_32)
66 test: $(NO_TESTS)
68 BUILD_PKG_DEPENDENCIES = $(BUILD_TOOLS)
70 include $(WS_TOP)/make-rules/depend.mk