diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2025-10-05 22:00:44 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-10-05 22:41:46 +0200 |
commit | 2c87879bffae65d49b06eca7903f201a958094e0 (patch) | |
tree | 0b93889680a8373ce3c62032f60772f09325f9fa /package/pcre | |
parent | 8d57fb6d7b4f6cbde4f878e220b95a24f856dc2a (diff) |
kodi: update to 21.2
Diffstat (limited to 'package/pcre')
-rw-r--r-- | package/pcre/Makefile | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/package/pcre/Makefile b/package/pcre/Makefile new file mode 100644 index 000000000..8964db4aa --- /dev/null +++ b/package/pcre/Makefile @@ -0,0 +1,49 @@ +# This file is part of the OpenADK project. OpenADK is copyrighted +# material, please see the LICENCE file in the top-level directory. + +include ${ADK_TOPDIR}/rules.mk + +PKG_NAME:= pcre +PKG_VERSION:= 8.45 +PKG_RELEASE:= 1 +PKG_HASH:= 4e6ce03e0336e8b4a3d6c2b70b1c5e18590a5673a98186da90d4f33c23defc09 +PKG_DESCR:= perl compatible regular expression library +PKG_SECTION:= libs/misc +PKG_URL:= http://www.pcre.org/ +PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=pcre/} +PKG_LIBNAME:= libpcre +PKG_OPTS:= dev + +DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz + +PKG_SUBPKGS:= LIBPCRE LIBPCRECPP +PKGSD_LIBPCRECPP:= pcre c++ library + +include ${ADK_TOPDIR}/mk/host.mk +include ${ADK_TOPDIR}/mk/package.mk + +$(eval $(call HOST_template,PCRE,pcre,${PKG_VERSION}-${PKG_RELEASE})) +$(eval $(call PKG_template,LIBPCRE,libpcre,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION},${PKG_OPTS})) +$(eval $(call PKG_template,LIBPCRECPP,libpcrecpp,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKGSD_LIBPCRECPP},${PKG_SECTION})) + +CONFIGURE_ARGS+= --enable-utf \ + --enable-unicode-properties +XAKE_FLAGS+= ${TARGET_CONFIGURE_OPTS} + +ifeq ($(ADK_PACKAGE_LIBPCRECPP),y) +CONFIGURE_ARGS+= --enable-cpp +else +CONFIGURE_ARGS+= --disable-cpp +endif + +libpcre-install: + ${INSTALL_DIR} ${IDIR_LIBPCRE}/usr/lib + ${CP} ${WRKINST}/usr/lib/libpcre{,posix}.so* ${IDIR_LIBPCRE}/usr/lib + +libpcrecpp-install: + ${INSTALL_DIR} ${IDIR_LIBPCRECPP}/usr/lib + ${CP} ${WRKINST}/usr/lib/libpcrecpp.so* ${IDIR_LIBPCRECPP}/usr/lib + +include ${ADK_TOPDIR}/mk/host-bottom.mk +include ${ADK_TOPDIR}/mk/pkg-bottom.mk + |