@ -9,14 +9,18 @@ include $(TOPDIR)/rules.mk
PKG_NAME := jsoncpp
PKG_VERSION := 1.8.4
PKG_RELEASE := 1
PKG_RELEASE := 2
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_SOURCE_URL := https://codeload.github.com/open-source-parsers/jsoncpp/tar.gz/$( PKG_VERSION) ?
PKG_HASH := c49deac9e0933bcb7044f08516861a2d560988540b23de2ac1ad443b219afdb6
PKG_MAINTAINER :=
PKG_LICENSE := MIT
PKG_LICENSE_FILES := LICENSE
PKG_SOURCE_URL := https://codeload.github.com/open-source-parsers/jsoncpp/tar.gz/$( PKG_VERSION) ?
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
PKG_HASH := c49deac9e0933bcb7044f08516861a2d560988540b23de2ac1ad443b219afdb6
PKG_BUILD_PARALLEL := 1
CMAKE_INSTALL := 1
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
@ -48,13 +52,4 @@ define Package/jsoncpp/install
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libjsoncpp.so* $( 1) /usr/lib/
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
$( CP) $( PKG_INSTALL_DIR) /usr/include/json $( 1) /usr/include
$( INSTALL_DIR) $( 1) /usr/lib/
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libjsoncpp.so* $( 1) /usr/lib/
$( INSTALL_DIR) $( 1) /usr/lib/pkgconfig
$( CP) $( PKG_INSTALL_DIR) /usr/lib/pkgconfig/jsoncpp.pc $( 1) /usr/lib/pkgconfig/
e n d e f
$( eval $ ( call BuildPackage ,jsoncpp ) )