define Build/InstallDev
mkdir -p $(1)/usr/include
- $(CP) -r $(PKG_INSTALL_DIR)/usr/include/json $(1)/usr/include/
+ $(CP) $(PKG_INSTALL_DIR)/usr/include/json $(1)/usr/include/
mkdir -p $(1)/usr/lib
- $(CP) -r $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} $(1)/usr/lib/
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/libjson.{a,so*} $(1)/usr/lib/
mkdir -p $(1)/usr/lib/pkgconfig
- $(CP) -r $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/
-endef
-
-define Build/UninstallDev
- rm -rf $(1)/usr/include/json \
- $(1)/usr/lib/libjson.{a,so*} \
- $(1)/usr/lib/pkgconfig/json.pc
+ $(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/
endef
define Package/libjson/install