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
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/
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
29 CMAKE_FLAGS
+= -DBUILD_SHARED_LIBS
=ON
32 $(INSTALL_DIR
) $(IDIR_PCRE2
)/usr
/lib
33 $(CP
) $(WRKINST
)/usr
/lib
/libpcre2
*.so
* \
36 include ${ADK_TOPDIR}/mk
/host-bottom.mk
37 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk