Merge pull request #4190 from MilhouseVH/le92-fix-apache

apache-ant: create TOOLCHAIN/bin before copying file [backport]
This commit is contained in:
Christian Hewitt 2020-02-19 10:13:05 +04:00 committed by GitHub
commit 4229e893b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
# SPDX-License-Identifier: GPL-2.0-or-later
# Copyright (C) 2019-present Peter Vicman (peter.vicman@gmail.com)
# Copyright (C) 2020-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="apache-ant"
PKG_VERSION="1.10.6"
@ -18,8 +19,11 @@ make_host() {
./bootstrap.sh
./bootstrap/bin/ant -f fetch.xml -Ddest=optional
./build.sh -Ddist.dir=${PKG_BUILD}/binary dist
cp binary/bin/ant ${TOOLCHAIN}/bin
cp -r binary/lib ${TOOLCHAIN}
)
}
makeinstall_host() {
mkdir -p ${TOOLCHAIN}/bin
cp binary/bin/ant ${TOOLCHAIN}/bin
cp -r binary/lib ${TOOLCHAIN}
}