1 # This is free software, licensed under the GNU General Public License v2.
2 # See /LICENSE for more information.
5 include $(TOPDIR
)/rules.mk
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
:=001aa1202e78448f4c0bf1a48c76e556876b36f16d92ce3207eccfd61d99f2a0
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
24 include $(INCLUDE_DIR
)/package.mk
26 define Package
/oniguruma
29 TITLE
:=Regular expression library for different character encodings
30 URL
:=https
://github.com
/kkos
/oniguruma
34 define Package
/oniguruma
/description
35 Oniguruma is a modern and flexible regular expressions library.
36 It encompasses features from different regular expression implementations that
37 traditionally exist in different languages.
39 Character encoding can be specified per regular expression object.
42 CONFIGURE_ARGS
+= --enable-posix-api
44 define Package
/oniguruma
/install
45 $(INSTALL_DIR
) $(1)/usr
/lib
46 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/lib
/libonig.so.
$(ABI_VERSION
) $(1)/usr
/lib
/
49 define Build
/InstallDev
50 $(INSTALL_DIR
) $(1)/usr
/{include,lib
}
51 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
52 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/* $(1)/usr
/lib
/
53 $(SED
) 's,/usr,$(STAGING_DIR)/usr,g' $(1)/usr
/lib
/pkgconfig
/oniguruma.
pc
56 $(eval
$(call BuildPackage
,oniguruma
))