1
0
This repository has been archived on 2024-11-10. You can view files and clone it, but cannot push or open issues or pull requests.
Lakka-rk322x/packages/addons/addon-depends/pcre2/package.mk
ihipop 4dce3bbeac
pcre2: update PKG_URL
ftp.pcre.org is closed #5928

(cherry picked from commit 256ece5dd99d280e98125606bcf69d956a6d2ae1)
2021-11-30 12:32:56 +08:00

22 lines
769 B
Makefile

# SPDX-License-Identifier: GPL-2.0
# Copyright (C) 2017-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="pcre2"
PKG_VERSION="10.36"
PKG_SHA256="a9ef39278113542968c7c73a31cfcb81aca1faa64690f400b907e8ab6b4a665c"
PKG_LICENSE="BSD"
PKG_SITE="http://www.pcre.org/"
PKG_URL="${SOURCEFORGE_SRC}/pcre/${PKG_NAME}/${PKG_VERSION}/${PKG_NAME}-${PKG_VERSION}.tar.bz2"
PKG_DEPENDS_TARGET="toolchain"
PKG_LONGDESC="A set of functions that implement regular expression pattern matching using the same syntax."
PKG_TOOLCHAIN="cmake"
PKG_BUILD_FLAGS="+pic"
PKG_CMAKE_OPTS_TARGET="-DBUILD_SHARED_LIBS=OFF \
-DPCRE2_BUILD_PCRE2_16=ON \
-DPCRE2_SUPPORT_LIBREADLINE=OFF"
post_makeinstall_target() {
safe_remove ${INSTALL}/usr/bin
}