summaryrefslogtreecommitdiff
path: root/package/classpath/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/classpath/Makefile')
-rw-r--r--package/classpath/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/classpath/Makefile b/package/classpath/Makefile
index e63c84e7a..0a8e7e682 100644
--- a/package/classpath/Makefile
+++ b/package/classpath/Makefile
@@ -17,10 +17,21 @@ PKG_SITES:= ${MASTER_SITE_GNU:=classpath/}
PKG_HOST_DEPENDS:= linux
PKG_ARCH_DEPENDS:= !cris !arm
+include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
+$(eval $(call HOST_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE}))
$(eval $(call PKG_template,CLASSPATH,classpath,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
+HOST_STYLE:= auto
+HOST_CONFIGURE_ARGS+= --disable-plugin \
+ --disable-tools \
+ --disable-examples \
+ --disable-gtk-peer \
+ --disable-gconf-peer \
+ --disable-alsa \
+ --disable-Werror \
+ --without-x
CONFIGURE_ARGS+= --disable-plugin \
--disable-tools \
--disable-examples
@@ -37,4 +48,5 @@ classpath-install:
$(CP) $(WRKINST)/usr/share/classpath/glibj.zip \
$(STAGING_DIR)/usr/share/classpath
+include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk