Browse Source
Merge pull request #3961 from termux/duktape-fix
libduktape-dev: break and replace duktape-dev
emacs-27
Henrik Grimler
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
6 additions and
5 deletions
-
packages/libduktape/build.sh
|
|
@ -2,10 +2,11 @@ TERMUX_PKG_HOMEPAGE=https://www.duktape.org/ |
|
|
|
TERMUX_PKG_DESCRIPTION="An embeddable Javascript engine with a focus on portability and compact footprint" |
|
|
|
TERMUX_PKG_LICENSE="MIT" |
|
|
|
TERMUX_PKG_VERSION=2.3.0 |
|
|
|
TERMUX_PKG_REVISION=1 |
|
|
|
TERMUX_PKG_REVISION=2 |
|
|
|
TERMUX_PKG_REPLACES="duktape (<< 2.3.0-1)" |
|
|
|
TERMUX_PKG_BREAKS="duktape (<< 2.3.0-1)" |
|
|
|
TERMUX_PKG_SKIP_SRC_EXTRACT=1 |
|
|
|
TERMUX_SUBPKG_BREAKS="duktape-dev" |
|
|
|
TERMUX_SUBPKG_REPLACES="duktape-dev" |
|
|
|
TERMUX_PKG_BUILD_IN_SRC=yes |
|
|
|
|
|
|
|
termux_step_extract_package() { |
|
|
@ -17,9 +18,9 @@ termux_step_make() { |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_make_install() { |
|
|
|
cp libduktape.so.1.0.0 ${TERMUX_PREFIX}/lib/libduktape.so |
|
|
|
cp duk ${TERMUX_PREFIX}/bin |
|
|
|
cp prep/nondebug/*.h ${TERMUX_PREFIX}/include |
|
|
|
install libduktape.so.1.0.0 ${TERMUX_PREFIX}/lib/libduktape.so |
|
|
|
install duk ${TERMUX_PREFIX}/bin |
|
|
|
install prep/nondebug/*.h ${TERMUX_PREFIX}/include |
|
|
|
} |
|
|
|
|
|
|
|
termux_step_post_make_install() { |
|
|
|