prometheus-node-exporter-lua: add dawn exporter
[feed/packages.git] / libs / oniguruma / Makefile
1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
3 #
4
5 include $(TOPDIR)/rules.mk
6
7 PKG_NAME:=oniguruma
8 PKG_VERSION:=6.9.5_rev1
9 PKG_RELEASE:=1
10
11 PKG_SOURCE:=onig-v$(subst _,-,$(PKG_VERSION)).tar.gz
12 PKG_SOURCE_URL:=https://codeload.github.com/kkos/oniguruma/tar.gz/v$(PKG_VERSION)?
13 PKG_HASH:=e0c2212102fa4146c43b6c4f2f7727a84fd055cc2109c293d64298cef0c372b5
14
15 PKG_MAINTAINER:=Eneas U de Queiroz <cotequeiroz@gmail.com>
16 PKG_LICENSE:=BSD-2-Clause
17 PKG_LICENSE_FILES:=COPYING
18 PKG_CPE_ID:=cpe:/a:oniguruma_project:oniguruma
19
20 PKG_INSTALL:=1
21 PKG_FIXUP:=autoreconf
22
23 include $(INCLUDE_DIR)/package.mk
24 include $(INCLUDE_DIR)/cmake.mk
25
26 CMAKE_INSTALL:=1
27 CMAKE_OPTIONS += -DENABLE_POSIX_API:BOOL=ON
28
29 define Package/oniguruma
30 SECTION:=libs
31 CATEGORY:=Libraries
32 TITLE:=Regular expression library for different character encodings
33 URL:=https://github.com/kkos/oniguruma
34 ABI_VERSION:=5
35 endef
36
37 define Package/oniguruma/description
38 Oniguruma is a modern and flexible regular expressions library.
39 It encompasses features from different regular expression implementations that
40 traditionally exist in different languages.
41
42 Character encoding can be specified per regular expression object.
43 endef
44
45 define Package/oniguruma/install
46 $(INSTALL_DIR) $(1)/usr/lib
47 $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/libonig.so.$(ABI_VERSION) $(1)/usr/lib/
48 endef
49
50 $(eval $(call BuildPackage,oniguruma))