X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/fa7fcec9cfd77981b585ef9cf1328bbf0620dc62..bad75cb0ebe9409409f68f9fd21a8434d43bc258:/package/libjson-c/Makefile?ds=sidebyside diff --git a/package/libjson-c/Makefile b/package/libjson-c/Makefile index 01116aaf6..f713cc615 100644 --- a/package/libjson-c/Makefile +++ b/package/libjson-c/Makefile @@ -37,17 +37,11 @@ endef 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