Merge pull request #4189 from MilhouseVH/le10-fix-apache

apache-ant: create TOOLCHAIN/bin before copying file
This commit is contained in:
Matthias Reichl
2020-02-14 12:29:31 +01:00
committed by GitHub

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}
}