libduktape: use new termux_git_clone_src function
This commit is contained in:
parent
9d1dcd53af
commit
48ca8f1d14
@ -1,16 +1,13 @@
|
|||||||
TERMUX_PKG_HOMEPAGE=https://www.duktape.org/
|
TERMUX_PKG_HOMEPAGE=https://www.duktape.org/
|
||||||
TERMUX_PKG_DESCRIPTION="An embeddable Javascript engine with a focus on portability and compact footprint"
|
TERMUX_PKG_DESCRIPTION="An embeddable Javascript engine with a focus on portability and compact footprint"
|
||||||
TERMUX_PKG_LICENSE="MIT"
|
TERMUX_PKG_LICENSE="MIT"
|
||||||
|
TERMUX_PKG_SRCURL=https://github.com/svaarala/duktape.git
|
||||||
TERMUX_PKG_VERSION=2.5.0
|
TERMUX_PKG_VERSION=2.5.0
|
||||||
TERMUX_PKG_REVISION=1
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_REPLACES="duktape (<< 2.3.0-1), libduktape-dev"
|
TERMUX_PKG_REPLACES="duktape (<< 2.3.0-1), libduktape-dev"
|
||||||
TERMUX_PKG_BREAKS="duktape (<< 2.3.0-1), libduktape-dev"
|
TERMUX_PKG_BREAKS="duktape (<< 2.3.0-1), libduktape-dev"
|
||||||
TERMUX_PKG_BUILD_IN_SRC=true
|
TERMUX_PKG_BUILD_IN_SRC=true
|
||||||
|
|
||||||
termux_step_extract_package() {
|
|
||||||
git clone --depth=1 https://github.com/svaarala/duktape.git -b v${TERMUX_PKG_VERSION} ${TERMUX_PKG_SRCDIR}
|
|
||||||
}
|
|
||||||
|
|
||||||
termux_step_pre_configure() {
|
termux_step_pre_configure() {
|
||||||
if $TERMUX_ON_DEVICE_BUILD; then
|
if $TERMUX_ON_DEVICE_BUILD; then
|
||||||
# configure.py requires 'yaml' python2 module.
|
# configure.py requires 'yaml' python2 module.
|
||||||
|
Loading…
Reference in New Issue
Block a user