X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/c4b73fa154ce47702ee9b3bbe621d8f079eb7fa5..9af7e662311990be5078604ca3d970db3e9881a0:/package/libpcap/Makefile?ds=inline diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile index 67719b894..d7956a61b 100644 --- a/package/libpcap/Makefile +++ b/package/libpcap/Makefile @@ -46,17 +46,12 @@ define Build/Compile endef define Build/InstallDev - mkdir -p $(STAGING_DIR)/usr/include + mkdir -p $(1)/usr/include $(CP) $(PKG_INSTALL_DIR)/usr/include/pcap{,-bpf,-namedb}.h \ - $(STAGING_DIR)/usr/include/ - mkdir -p $(STAGING_DIR)/usr/lib + $(1)/usr/include/ + mkdir -p $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/libpcap.{a,so*} \ - $(STAGING_DIR)/usr/lib/ -endef - -define Build/UninstallDev - rm -rf $(STAGING_DIR)/usr/include/pcap{,-bpf,-namedb}.h \ - $(STAGING_DIR)/usr/lib/libpcap.{a,so*} + $(1)/usr/lib/ endef define Package/libpcap/install