Commit b3050f68 authored by Sean McGovern's avatar Sean McGovern Committed by Jean-Baptiste Kempf

tools: add Apache ANT for contribs

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent c433918e
GNU=http://ftp.gnu.org/gnu
APACHE=http://mirror.csclub.uwaterloo.ca/apache
YASM_VERSION=1.2.0
#YASM_URL=$(CONTRIB_VIDEOLAN)/yasm-$(YASM_VERSION).tar.gz
......@@ -37,3 +38,6 @@ RAGEL_URL=http://www.complang.org/ragel/ragel-$(RAGEL_VERSION).tar.gz
SED_VERSION=4.2.2
SED_URL=$(GNU)/sed/sed-$(SED_VERSION).tar.bz2
ANT_VERSION=1.9.4
ANT_URL=$(APACHE)/ant/binaries/apache-ant-$(ANT_VERSION)-bin.tar.bz2
......@@ -248,6 +248,23 @@ CLEAN_PKG += sed
DISTCLEAN_PKG += sed-$(SED_VERSION).tar.bz2
CLEAN_FILE += .sed
# Apache ANT
apache-ant-$(ANT_VERSION).tar.bz2:
$(call download,$(ANT_URL))
ant: apache-ant-$(ANT_VERSION).tar.bz2
$(UNPACK)
$(MOVE)
.ant: ant
(cp $</bin/* build/bin/; cp $</lib/* build/lib/)
touch $@
CLEAN_PKG += ant
DISTCLEAN_PKG += apache-ant-$(ANT_VERSION).tar.bz2
CLEAN_FILE += .ant
#
#
#
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment