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
= libvte-java
18 COMPONENT_VERSION
= 0.12.3
19 COMPONENT_PROJECT_URL
= http
://www.gnome.org
20 COMPONENT_SUMMARY
= Part of Java-Gnome
- Java to Gnome Terminal bindings
21 COMPONENT_FMRI
= library
/java
/java-gnome
/java-libvte
22 COMPONENT_CLASSIFICATION
= Development
/Java
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.bz2
25 COMPONENT_ARCHIVE_HASH
= \
26 sha256
:abe3c300572decaad35f926bdeb129054dc7312a9dbf7c1cba2dcb715a53eb39
27 COMPONENT_ARCHIVE_URL
= http
://ftp.gnome.org
/pub
/GNOME
/sources
/$(COMPONENT_NAME
)/0.12/$(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 CFLAGS
+= -I
/usr
/java
/include -I
/usr
/java
/include/solaris
37 CONFIGURE_OPTIONS
+= --libexecdir
=/usr
/lib
38 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
39 CONFIGURE_OPTIONS
+= --with-docbasedir
=/usr
/share
/lib
/java
/javadoc
/java-gnome
40 CONFIGURE_OPTIONS
+= --with-jardir
=/usr
/share
/lib
/java
41 CONFIGURE_OPTIONS
+= --with-srcjar
42 CONFIGURE_OPTIONS
+= --with-srcjardir
=/usr
/share
/lib
/java
/src
/java-gnome
43 CONFIGURE_OPTIONS
+= --without-gcj-compile
45 CONFIGURE_ENV
+= JAVA_HOME
=$(JAVA_HOME
)
47 COMPONENT_INSTALL_ENV
+= GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL
=1
52 install: $(INSTALL_32
)
56 BUILD_PKG_DEPENDENCIES
= $(BUILD_TOOLS
)
58 include $(WS_TOP
)/make-rules
/depend.mk