dart: add tar and gzip as dependencies

Needed in order to get "pub" working properly.
This commit is contained in:
Leonid Pliushch 2019-05-23 03:17:11 +03:00
parent adb6a80512
commit 4aed11a11e

View File

@ -1,10 +1,16 @@
TERMUX_PKG_HOMEPAGE=https://www.dartlang.org/
TERMUX_PKG_DESCRIPTION="Dart is a general-purpose programming language."
TERMUX_PKG_DESCRIPTION="Dart is a general-purpose programming language"
TERMUX_PKG_LICENSE="BSD"
TERMUX_PKG_VERSION=2.3.1
TERMUX_PKG_SKIP_SRC_EXTRACT=1
TERMUX_PKG_REVISION=1
TERMUX_PKG_SKIP_SRC_EXTRACT=yes
TERMUX_PKG_BUILD_IN_SRC=yes
# Dart uses tar and gzip to extract downloaded packages.
# Busybox-based versions of such utilities cause issues so
# complete ones should be used.
TERMUX_PKG_DEPENDS="gzip, tar"
termux_step_extract_package() {
mkdir -p $TERMUX_PKG_SRCDIR
cd $TERMUX_PKG_SRCDIR