@ -6,7 +6,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME := oniguruma
PKG_NAME := oniguruma
PKG_VERSION := 6.9.5_rev1
PKG_VERSION := 6.9.5_rev1
PKG_RELEASE := 2
PKG_RELEASE := 3
PKG_SOURCE := onig-v$( subst _,-,$( PKG_VERSION) ) .tar.gz
PKG_SOURCE := onig-v$( subst _,-,$( PKG_VERSION) ) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/kkos/oniguruma/tar.gz/v$( PKG_VERSION) ?
PKG_SOURCE_URL := https://codeload.github.com/kkos/oniguruma/tar.gz/v$( PKG_VERSION) ?
@ -21,10 +21,8 @@ PKG_INSTALL:=1
PKG_FIXUP := autoreconf
PKG_FIXUP := autoreconf
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / p a c k a g e . m k
i n c l u d e $( INCLUDE_DIR ) / c m a k e . m k
CMAKE_INSTALL := 1
CMAKE_OPTIONS += -DENABLE_POSIX_API:BOOL= ON
CONFIGURE_ARGS += --enable-posix-api
d e f i n e P a c k a g e / o n i g u r u m a
d e f i n e P a c k a g e / o n i g u r u m a
SECTION:= libs
SECTION:= libs
@ -47,4 +45,11 @@ define Package/oniguruma/install
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/lib/libonig.so.$( ABI_VERSION) $( 1) /usr/lib/
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/lib/libonig.so.$( ABI_VERSION) $( 1) /usr/lib/
e n d e f
e n d e f
d e f i n e B u i l d / I n s t a l l D e v
$( INSTALL_DIR) $( 1) /usr/{ include,lib}
$( CP) $( PKG_INSTALL_DIR) /usr/include/* $( 1) /usr/include/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/* $( 1) /usr/lib/
$( SED) 's,/usr,$(STAGING_DIR)/usr,g' $( 1) /usr/lib/pkgconfig/oniguruma.pc
e n d e f
$( eval $ ( call BuildPackage ,oniguruma ) )
$( eval $ ( call BuildPackage ,oniguruma ) )