madwifi: improve beacon miss handling to increase the reliability of STA mode links
[openwrt.git] / package / libjson-c / Makefile
index c2adc7c..f713cc6 100644 (file)
@@ -37,19 +37,11 @@ endef
 
 define Build/InstallDev
        mkdir -p $(1)/usr/include
 
 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
        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
        mkdir -p $(1)/usr/lib/pkgconfig
-       $(CP) -r $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/json.pc $(1)/usr/lib/pkgconfig/
-       $(SED) 's,-I$$$${includedir}/,-I$(1)/usr/include/,g' $(1)/usr/lib/pkgconfig/json.pc
-       $(SED) 's,-L$$$${libdir},,g' $(1)/usr/lib/pkgconfig/json.pc
-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
 endef
 
 define Package/libjson/install
This page took 0.022471 seconds and 4 git commands to generate.