X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/e2b0a0cc9aa0c95f9eef48c44ffba0ded73a2ea3..7431c1813f50563ae066c8b3a683aee3725d3ca9:/package/libpcap/Makefile?ds=sidebyside diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile index 52a81a183..bd039f911 100644 --- a/package/libpcap/Makefile +++ b/package/libpcap/Makefile @@ -22,12 +22,14 @@ define Package/libpcap SECTION:=libs CATEGORY:=Libraries TITLE:=Low-level packet capture library - DESCRIPTION:=\ - This package contains a system-independent library for user-level \\\ - network packet capture. URL:=http://www.tcpdump.org/ endef +define Package/libpcap/description + This package contains a system-independent library for user-level network + packet capture. +endef + CONFIGURE_ARGS += \ --enable-shared \ --enable-static \ @@ -44,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