X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/c4b73fa154ce47702ee9b3bbe621d8f079eb7fa5..8e85aed5aa25e3d0d8d2f569df9e4aa037ce2cce:/package/libpcap/Makefile diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile index 67719b894..bd039f911 100644 --- a/package/libpcap/Makefile +++ b/package/libpcap/Makefile @@ -46,17 +46,17 @@ 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/ + $(1)/usr/lib/ endef define Build/UninstallDev - rm -rf $(STAGING_DIR)/usr/include/pcap{,-bpf,-namedb}.h \ - $(STAGING_DIR)/usr/lib/libpcap.{a,so*} + rm -rf $(1)/usr/include/pcap{,-bpf,-namedb}.h \ + $(1)/usr/lib/libpcap.{a,so*} endef define Package/libpcap/install