1 ################################################################################
5 ################################################################################
7 CLASSPATH_VERSION
= 0.98
8 CLASSPATH_SITE
= $(BR2_GNU_MIRROR
)/classpath
9 CLASSPATH_CONF_OPTS
= \
14 --disable-gconf-peer \
17 # classpath assumes qt runs on top of X11, but we
18 # don't support qt4 on X11
19 CLASSPATH_CONF_OPTS
+= --disable-qt-peer
20 CLASSPATH_DEPENDENCIES
= host-pkgconf
21 CLASSPATH_AUTORECONF
= YES
22 CLASSPATH_LICENSE
= GPLv2
+ with exception
23 CLASSPATH_LICENSE_FILES
= COPYING
25 # Needs ALSA pcm and sequencer (midi) support
26 # pcm is always on for alsa-lib
27 ifeq ($(BR2_PACKAGE_ALSA_LIB_SEQ
),y
)
28 CLASSPATH_CONF_OPTS
+= --enable-alsa
29 CLASSPATH_DEPENDENCIES
+= alsa-lib
31 CLASSPATH_CONF_OPTS
+= --disable-alsa
34 ifeq ($(BR2_PACKAGE_GMP
),y
)
35 CLASSPATH_CONF_OPTS
+= --enable-gmp
--with-gmp
="$(STAGING_DIR)/usr"
36 CLASSPATH_DEPENDENCIES
+= gmp
38 CLASSPATH_CONF_OPTS
+= --disable-gmp
41 ifeq ($(BR2_PACKAGE_LIBGTK2
)$(BR2_PACKAGE_XORG7
),yy
)
42 CLASSPATH_CONF_OPTS
+= --enable-gtk-peer
43 CLASSPATH_DEPENDENCIES
+= libgtk2
45 ifeq ($(BR2_PACKAGE_GST_PLUGINS_BASE
),y
)
46 CLASSPATH_CONF_OPTS
+= --enable-gstreamer-peer
47 CLASSPATH_DEPENDENCIES
+= gst-plugins-base
49 CLASSPATH_CONF_OPTS
+= --disable-gstreamer-peer
53 CLASSPATH_CONF_OPTS
+= --disable-gtk-peer
--disable-gstreamer-peer
56 ifeq ($(BR2_PACKAGE_LIBXML2
)$(BR2_PACKAGE_LIBXSLT
),yy
)
57 CLASSPATH_CONF_OPTS
+= --enable-xmlj
58 CLASSPATH_DEPENDENCIES
+= libxml2 libxslt
60 CLASSPATH_CONF_OPTS
+= --disable-xmlj
63 $(eval
$(autotools-package
))