termux-packages/packages/pcre2/build.sh

23 lines
770 B
Bash
Raw Normal View History

2018-05-25 12:38:52 +02:00
TERMUX_PKG_HOMEPAGE=https://www.pcre.org
2017-10-28 23:54:54 +02:00
TERMUX_PKG_DESCRIPTION="Perl 5 compatible regular expression library"
2019-01-21 13:53:58 +01:00
TERMUX_PKG_LICENSE="BSD 3-Clause"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="10.40"
2021-10-04 18:47:19 +02:00
TERMUX_PKG_SRCURL=https://github.com/PhilipHazel/pcre2/releases/download/pcre2-${TERMUX_PKG_VERSION}/pcre2-${TERMUX_PKG_VERSION}.tar.bz2
TERMUX_PKG_SHA256=14e4b83c4783933dc17e964318e6324f7cae1bc75d8f3c79bc6969f00c159d68
2021-10-04 18:47:19 +02:00
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_UPDATE_VERSION_REGEXP="\d+\.\d+"
TERMUX_PKG_BREAKS="pcre2-dev"
TERMUX_PKG_REPLACES="pcre2-dev"
2017-10-28 23:54:54 +02:00
TERMUX_PKG_RM_AFTER_INSTALL="
bin/pcre2test
2021-12-31 13:43:16 +01:00
share/man/man1/pcre2test.1
2017-10-28 23:54:54 +02:00
lib/libpcre2-posix.so
lib/pkgconfig/libpcre2-posix.pc
2017-10-28 23:54:54 +02:00
"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--enable-jit
2018-02-06 22:23:31 +01:00
--enable-pcre2-16
2017-11-03 23:06:30 +01:00
--enable-pcre2-32
2017-10-28 23:54:54 +02:00
"