X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/fa7fcec9cfd77981b585ef9cf1328bbf0620dc62..5786c7a02fcbe5eecf98374500a50e74d3968613:/package/libjson-c/Makefile 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