python3: update to 3.11.10
[openadk.git] / package / pcre2 / Makefile
blob5062daea4525d2f5c9151579a94828fa7b26f4a2
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= pcre2
7 PKG_VERSION:= 10.42
8 PKG_RELEASE:= 1
9 PKG_HASH:= a8e52a9bd1bca8f51c5c24823adc2a99acb12288e289a6507090c1a4a4815010
10 PKG_DESCR:= perl compatible regular expression library
11 PKG_SECTION:= libs/misc
12 PKG_BUILDDEP:= cmake-host
13 HOST_BUILDDEP:= cmake-host
14 PKG_SITES:= https://github.com/PCRE2Project/pcre2/archive/refs/tags/
15 PKG_OPTS:= dev
17 DISTFILES:= $(PKG_NAME)-$(PKG_VERSION).tar.gz
18 WRKDIST= ${WRKDIR}/$(PKG_NAME)-$(PKG_NAME)-$(PKG_VERSION)
20 include $(ADK_TOPDIR)/mk/host.mk
21 include $(ADK_TOPDIR)/mk/package.mk
23 $(eval $(call HOST_template,PCRE2,pcre2,${PKG_VERSION}-${PKG_RELEASE}))
24 $(eval $(call PKG_template,PCRE2,pcre2,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
26 HOST_CONFIG_STYLE:= cmake
27 HOST_CMAKE_FLAGS+= -DBUILD_SHARED_LIBS=ON
28 CONFIG_STYLE:= cmake
29 CMAKE_FLAGS+= -DBUILD_SHARED_LIBS=ON
31 pcre2-install:
32 $(INSTALL_DIR) $(IDIR_PCRE2)/usr/lib
33 $(CP) $(WRKINST)/usr/lib/libpcre2*.so* \
34 $(IDIR_PCRE2)/usr/lib
36 include ${ADK_TOPDIR}/mk/host-bottom.mk
37 include $(ADK_TOPDIR)/mk/pkg-bottom.mk