libduktape: make sure $PKG_CONFIG_LIBDIR exists
This commit is contained in:
parent
aa4f6f6af7
commit
836f5355ff
@ -4,6 +4,7 @@ TERMUX_PKG_LICENSE="MIT"
|
||||
TERMUX_PKG_MAINTAINER="@termux"
|
||||
TERMUX_PKG_SRCURL=https://github.com/svaarala/duktape.git
|
||||
TERMUX_PKG_VERSION=2.6.0
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REPLACES="duktape (<< 2.3.0-1), libduktape-dev"
|
||||
TERMUX_PKG_BREAKS="duktape (<< 2.3.0-1), libduktape-dev"
|
||||
TERMUX_PKG_BUILD_IN_SRC=true
|
||||
@ -29,6 +30,7 @@ termux_step_make_install() {
|
||||
|
||||
termux_step_post_make_install() {
|
||||
# Add a pkg-config file for the duktape lib
|
||||
mkdir -p "$PKG_CONFIG_LIBDIR"
|
||||
cat > "$PKG_CONFIG_LIBDIR/duktape.pc" <<-HERE
|
||||
Name: Duktape
|
||||
Description: Shared library for the Duktape interpreter
|
||||
|
Loading…
Reference in New Issue
Block a user