[AR7]: Fix two of the three bugs in #3122
[openwrt.git] / package / libjson-c / Makefile
index 01116aa..f713cc6 100644 (file)
@@ -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
This page took 0.021849 seconds and 4 git commands to generate.