shared-macros.mk: simplify java settings
[oi-userland.git] / components / web / xrx / Makefile
blob0341133bd7dd151df653e5396fc1b327a579d2c4
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 2013 Alexander Pyhalov. All rights reserved.
16 include ../../../make-rules/shared-macros.mk
18 COMPONENT_NAME= xrx
19 COMPONENT_VERSION= 1.0.4
20 COMPONENT_REVISION= 1
21 COMPONENT_SUMMARY= RX: X Remote eXecution (aka Xweb or Broadway)
22 COMPONENT_PROJECT_URL= http://www.broadwayinfo.com/
23 COMPONENT_FMRI= web/browser/firefox/plugin/firefox-xrx
24 COMPONENT_CLASSIFICATION= Applications/Plug-ins and Run-times
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
27 COMPONENT_ARCHIVE_HASH= \
28 sha256:b5eb5ecae105ed4d3b2c91193a1c2ef9fe51b1145190541a59f92645899763a4
29 COMPONENT_ARCHIVE_URL= \
30 http://xorg.freedesktop.org/archive/individual/app/$(COMPONENT_ARCHIVE)
31 COMPONENT_LICENSE= MIT
33 include $(WS_MAKE_RULES)/prep.mk
34 include $(WS_MAKE_RULES)/configure.mk
35 include $(WS_MAKE_RULES)/ips.mk
37 CONFIGURE_LIBDIR.32=/usr/lib/firefox/browser/plugins
39 CONFIGURE_OPTIONS+= PLUGIN_CFLAGS='-I$$(COMPONENT_SRC)/plugin/include'
40 CONFIGURE_OPTIONS+= --enable-shared=yes
41 CONFIGURE_OPTIONS+= --enable-static=no
43 build: $(BUILD_32)
45 install: $(INSTALL_32)
47 REQUIRED_PACKAGES += system/library
48 REQUIRED_PACKAGES += x11/library/libice
49 REQUIRED_PACKAGES += x11/library/libx11
50 REQUIRED_PACKAGES += x11/library/libxext
51 REQUIRED_PACKAGES += x11/library/toolkit/libxaw7
52 REQUIRED_PACKAGES += x11/library/toolkit/libxt