diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-23 10:47:31 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-23 10:47:31 +0100 |
commit | 4b7a7c1333333ce0f1567cfda15fb86222be2301 (patch) | |
tree | 52ca6663c6c95635d7afa18c3cf750280b498c62 /package/ant | |
parent | e31358b57662bb44613874e6cb5d5569309910af (diff) | |
parent | 103810049b157dc809c82a0136e23fe4276b9750 (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts:
package/pulseaudio/Makefile
Diffstat (limited to 'package/ant')
-rw-r--r-- | package/ant/Makefile | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/package/ant/Makefile b/package/ant/Makefile new file mode 100644 index 000000000..5476596eb --- /dev/null +++ b/package/ant/Makefile @@ -0,0 +1,42 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include $(TOPDIR)/rules.mk + +PKG_NAME:= ant +PKG_VERSION:= 1.8.4 +PKG_RELEASE:= 1 +PKG_MD5SUM:= c474fa9d0c35a24037c23b6e476862c1 +PKG_DESCR:= ant utility +PKG_SECTION:= lang +PKG_SITES:= http://archive.apache.org/dist/ant/source/ + +DISTFILES:= apache-$(PKG_NAME)-$(PKG_VERSION)-src.tar.bz2 +WRKDIST= $(WRKDIR)/apache-$(PKG_NAME)-$(PKG_VERSION) + +PKG_ARCH_DEPENDS:= native + +include $(TOPDIR)/mk/host.mk +include $(TOPDIR)/mk/package.mk + +$(eval $(call HOST_template,ANT,ant,$(PKG_VERSION)-${PKG_RELEASE})) + +HOST_STYLE:= manual + +host-build: + if [ ! -f $(WRKBUILD)/lib/optional/junit-4.9b2.jar ];then \ + cd $(WRKBUILD)/lib/optional; wget http://openadk.org/distfiles/junit-4.9b2.jar; \ + fi + cp $(STAGING_HOST_DIR)/usr/share/java/ecj.jar $(WRKBUILD)/lib/optional + cd ${WRKBUILD}; export BOOTJAVAC_OPTS="-bootclasspath $(STAGING_HOST_DIR)/usr/share/classpath/glibj.zip" \ + LD_LIBRARY_PATH=$(STAGING_HOST_DIR)/usr/lib:$(STAGING_HOST_DIR)/usr/lib64 \ + JAVA_HOME=$(STAGING_HOST_DIR)/usr/lib/jvm ; \ + $(BASH) build.sh + +ant-hostinstall: + cd $(WRKBUILD)/dist; \ + $(CP) bin/* $(STAGING_HOST_DIR)/usr/bin ; \ + $(CP) lib/* $(STAGING_HOST_DIR)/usr/lib + +include ${TOPDIR}/mk/host-bottom.mk +include ${TOPDIR}/mk/pkg-bottom.mk |