readline-dev: Add pkg-config file
This commit is contained in:
parent
a2a2bd874e
commit
720d523b34
@ -4,6 +4,7 @@ TERMUX_PKG_DEPENDS="libandroid-support, ncurses"
|
|||||||
_MAIN_VERSION=7.0
|
_MAIN_VERSION=7.0
|
||||||
_PATCH_VERSION=3
|
_PATCH_VERSION=3
|
||||||
TERMUX_PKG_VERSION=${_MAIN_VERSION}.${_PATCH_VERSION}
|
TERMUX_PKG_VERSION=${_MAIN_VERSION}.${_PATCH_VERSION}
|
||||||
|
TERMUX_PKG_REVISION=1
|
||||||
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/readline/readline-${_MAIN_VERSION}.tar.gz
|
TERMUX_PKG_SRCURL=https://mirrors.kernel.org/gnu/readline/readline-${_MAIN_VERSION}.tar.gz
|
||||||
TERMUX_PKG_SHA256=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
|
TERMUX_PKG_SHA256=750d437185286f40a369e1e4f4764eda932b9459b5ec9a731628393dd3d32334
|
||||||
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidth_broken=no"
|
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="--with-curses --enable-multibyte bash_cv_wcwidth_broken=no"
|
||||||
@ -23,3 +24,8 @@ termux_step_pre_configure () {
|
|||||||
patch -p0 -i $PATCHFILE
|
patch -p0 -i $PATCHFILE
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
termux_step_post_make_install() {
|
||||||
|
mkdir -p $TERMUX_PREFIX/lib/pkgconfig
|
||||||
|
cp readline.pc $TERMUX_PREFIX/lib/pkgconfig/
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user