Merge pull request #2783 from 3eka/geany-plugins-1.29
[unleashed-userland.git] / components / libgtk-java / Makefile
blob0418927aa826bf82075909e5d4e62cffb8fd0236
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 2015 Alexander Pyhalov
16 include ../../make-rules/shared-macros.mk
18 COMPONENT_NAME= libgtk-java
19 COMPONENT_VERSION= 2.10.2
20 COMPONENT_SUMMARY= Java to GTK core bindings
21 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
22 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
23 COMPONENT_ARCHIVE_HASH= \
24 sha256:2aba562ecd9a1def58e0021152befaaebe9df6bf5336f2fb9e940a575a27c7b2
25 COMPONENT_ARCHIVE_URL= \
26 http://ftp.gnome.org/pub/GNOME/sources/$(COMPONENT_NAME)/2.10/$(COMPONENT_ARCHIVE)
27 COMPONENT_PROJECT_URL = http://www.gnome.org
28 COMPONENT_FMRI= library/java/libgtk-java
29 COMPONENT_CLASSIFICATION= Desktop (GNOME)/Libraries
30 COMPONENT_LICENSE = LGPLv2
31 COMPONENT_LICENSE_FILE = COPYING
33 include ../../make-rules/prep.mk
34 include ../../make-rules/configure.mk
35 include ../../make-rules/ips.mk
37 PATH=/usr/gnu/bin:/usr/bin
39 CPPFLAGS += -I$(JAVA_HOME)/include
40 CPPFLAGS += -I$(JAVA_HOME)/include/solaris
42 # Missing files in build dir without this.
43 COMPONENT_PRE_CONFIGURE_ACTION = ($(CLONEY) $(SOURCE_DIR) $(@D))
45 CONFIGURE_OPTIONS += --sysconfdir=/etc
46 CONFIGURE_OPTIONS += --with-docbasedir=/usr/share/lib/java/javadoc/java-gnome
47 CONFIGURE_OPTIONS += --with-macrobasedir=/usr/share/lib/java/javadoc/java-gnome
48 CONFIGURE_OPTIONS += --with-jardir=/usr/share/lib/java
49 CONFIGURE_OPTIONS += --with-srcjar
50 CONFIGURE_OPTIONS += --with-srcjardir=/usr/share/lib/java/src/java-gnome
51 CONFIGURE_OPTIONS += --without-gcj-compile
53 CONFIGURE_OPTIONS += JAVA_HOME=$(JAVA_HOME)
55 CONFIGURE_ENV += CPPFLAGS="$(CPPFLAGS)"
57 build: $(BUILD_32)
59 install: $(INSTALL_32)
61 test: $(NO_TESTS)