PKG_NAME:=pcre
PKG_VERSION:=8.44
-PKG_RELEASE:=1
+PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=@SF/$(PKG_NAME)
TITLE:=A Perl Compatible Regular Expression library (16bit support)
endef
+define Package/libpcre32
+ $(call Package/libpcre/default)
+ TITLE:=A Perl Compatible Regular Expression library (32bit support)
+endef
+
define Package/libpcrecpp
$(call Package/libpcre/default)
TITLE:=C++ wrapper for Perl Compatible Regular Expression library
--enable-utf8 \
--enable-unicode-properties \
--enable-pcre16 \
+ --enable-pcre32 \
$(if $(CONFIG_PCRE_JIT_ENABLED),--enable-jit,--disable-jit) \
--with-match-limit-recursion=16000 \
$(if $(CONFIG_PACKAGE_libpcrecpp),--enable,--disable)-cpp
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcre16.so* $(1)/usr/lib/
endef
+define Package/libpcre32/install
+ $(INSTALL_DIR) $(1)/usr/lib
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcre32.so* $(1)/usr/lib/
+endef
+
define Package/libpcrecpp/install
$(INSTALL_DIR) $(1)/usr/lib
$(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcrecpp.so.* $(1)/usr/lib/
$(eval $(call BuildPackage,libpcre))
$(eval $(call BuildPackage,libpcre16))
+$(eval $(call BuildPackage,libpcre32))
$(eval $(call BuildPackage,libpcrecpp))