mirror of
https://github.com/novatiq/packages.git
synced 2026-07-05 03:29:37 +01:00
fdc23942ab
Besides the version bump, this backports a patch so that cmake uses the
same so version information as the current autotools, allowing the
switch over to cmake.
6.9.5_rev1 Changelog:
- Look-behind bug: if the look-behind contains a branch with a character
length of 0 and an anchor is included in the branch, the whole
look-behind is ignored
- POSIX API disabled by default -- enabled in openwrt, as at least
libevhtp needs it
- Update Unicode version 13.0.0
- NEW: Code point sequence notation \x{HHHH HHHH ...}, \o{OOOO OOOO ...}
- NEW API: retry limit in search functions
- NEW API: maximum nesting level of subexp call
- Fixed behavior of isolated options in Perl and Java syntaxes.
/...(?i).../
Signed-off-by: Eneas U de Queiroz <cotequeiroz@gmail.com>
51 lines
1.4 KiB
Makefile
51 lines
1.4 KiB
Makefile
# This is free software, licensed under the GNU General Public License v2.
|
|
# See /LICENSE for more information.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=oniguruma
|
|
PKG_VERSION:=6.9.5_rev1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE:=onig-v$(subst _,-,$(PKG_VERSION)).tar.gz
|
|
PKG_SOURCE_URL:=https://codeload.github.com/kkos/oniguruma/tar.gz/v$(PKG_VERSION)?
|
|
PKG_HASH:=e0c2212102fa4146c43b6c4f2f7727a84fd055cc2109c293d64298cef0c372b5
|
|
|
|
PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
|
|
PKG_LICENSE:=BSD-2-Clause
|
|
PKG_LICENSE_FILES:=COPYING
|
|
PKG_CPE_ID:=cpe:/a:oniguruma_project:oniguruma
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_FIXUP:=autoreconf
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/cmake.mk
|
|
|
|
CMAKE_INSTALL:=1
|
|
CMAKE_OPTIONS += -DENABLE_POSIX_API:BOOL=ON
|
|
|
|
define Package/oniguruma
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
TITLE:=Regular expression library for different character encodings
|
|
URL:=https://github.com/kkos/oniguruma
|
|
ABI_VERSION:=5
|
|
endef
|
|
|
|
define Package/oniguruma/description
|
|
Oniguruma is a modern and flexible regular expressions library.
|
|
It encompasses features from different regular expression implementations that
|
|
traditionally exist in different languages.
|
|
|
|
Character encoding can be specified per regular expression object.
|
|
endef
|
|
|
|
define Package/oniguruma/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libonig.so.$(ABI_VERSION) $(1)/usr/lib/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,oniguruma))
|