summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-03-08 20:16:45 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2014-03-08 20:16:45 +0100
commit6b4718e4ac35b741141bbaa4c0836d77b22cc02f (patch)
tree1b85a6140f4cbd9ad4a7399641846a84edc2575c
parentf896462badab57863fa941e77404c90fff6c2a7b (diff)
use ADK_HOST_ONLY to mark host only packages
-rw-r--r--package/ant/Makefile2
-rw-r--r--package/cmake/Makefile11
-rw-r--r--package/ecj/Makefile2
-rw-r--r--package/fastjar/Makefile2
-rw-r--r--package/gcj/Makefile2
-rw-r--r--package/scons/Makefile2
6 files changed, 10 insertions, 11 deletions
diff --git a/package/ant/Makefile b/package/ant/Makefile
index 625853bd8..b5b7d86b9 100644
--- a/package/ant/Makefile
+++ b/package/ant/Makefile
@@ -11,6 +11,8 @@ PKG_DESCR:= ant utility
PKG_SECTION:= lang
PKG_SITES:= http://archive.apache.org/dist/ant/source/
+PKG_CFLINE_ANT:= depends on ADK_HOST_ONLY
+
DISTFILES:= apache-$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2
WRKDIST= $(WRKDIR)/apache-$(PKG_NAME)-$(PKG_VERSION)
diff --git a/package/cmake/Makefile b/package/cmake/Makefile
index 6cdf53b0b..c444eba19 100644
--- a/package/cmake/Makefile
+++ b/package/cmake/Makefile
@@ -12,13 +12,12 @@ PKG_SECTION:= lang
PKG_URL:= http://www.cmake.org/
PKG_SITES:= http://www.cmake.org/files/v2.8/
-PKG_CFLINE_CMAKE:= depends on ADK_BROKEN
+PKG_CFLINE_CMAKE:= depends on ADK_HOST_ONLY
include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
$(eval $(call HOST_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE}))
-$(eval $(call PKG_template,CMAKE,cmake,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
HOST_STYLE:= manual
CONFIG_STYLE:= manual
@@ -35,13 +34,5 @@ cmake-hostinstall:
$(INSTALL_BIN) $(WRKBUILD)/bin/cmake \
$(STAGING_HOST_DIR)/usr/bin
-do-configure:
- (cd $(WRKBUILD); ./configure --prefix=/usr)
-
-cmake-install:
- $(INSTALL_DIR) $(IDIR_CMAKE)/usr/bin
- $(INSTALL_BIN) $(WRKINST)/usr/bin/cmake \
- $(IDIR_CMAKE)/usr/bin
-
include ${TOPDIR}/mk/host-bottom.mk
include ${TOPDIR}/mk/pkg-bottom.mk
diff --git a/package/ecj/Makefile b/package/ecj/Makefile
index 8e4dc6f94..8bba31865 100644
--- a/package/ecj/Makefile
+++ b/package/ecj/Makefile
@@ -10,6 +10,8 @@ PKG_MD5SUM:= c474fa9d0c35a24037c23b6e476862c1
PKG_DESCR:= ecj java compiler
PKG_SECTION:= lang
+PKG_CFLINE_ECJ:= depends on ADK_HOST_ONLY
+
NO_DISTFILES:= 1
include $(TOPDIR)/mk/host.mk
diff --git a/package/fastjar/Makefile b/package/fastjar/Makefile
index 0f4c1a50c..fe73820fa 100644
--- a/package/fastjar/Makefile
+++ b/package/fastjar/Makefile
@@ -11,6 +11,8 @@ PKG_DESCR:= fastjar utility
PKG_SECTION:= lang
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=fastjar/}
+PKG_CFLINE_FASTJAR:= depends on ADK_HOST_ONLY
+
include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk
diff --git a/package/gcj/Makefile b/package/gcj/Makefile
index 15c56b204..8273f06b2 100644
--- a/package/gcj/Makefile
+++ b/package/gcj/Makefile
@@ -11,6 +11,8 @@ PKG_DESCR:= GNU java compiler
PKG_SECTION:= lang
PKG_SITES:= ${MASTER_SITE_GNU:=gcc/gcc-${PKG_VERSION}/}
+PKG_CFLINE_GCJ:= depends on ADK_HOST_ONLY
+
DISTFILES:= gcc-$(PKG_VERSION).tar.bz2
WRKDIST= ${WRKDIR}/gcc-${PKG_VERSION}
diff --git a/package/scons/Makefile b/package/scons/Makefile
index 3f8958d40..9e92c9917 100644
--- a/package/scons/Makefile
+++ b/package/scons/Makefile
@@ -13,7 +13,7 @@ PKG_BUILDDEP:= bzip2-host python2-host
PKG_URL:= http://www.scons.org
PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=scons/}
-PKG_ARCH_DEPENDS:= native
+PKG_CFLINE_SCONS:= depends on ADK_HOST_ONLY
include $(TOPDIR)/mk/host.mk
include $(TOPDIR)/mk/package.mk