summaryrefslogtreecommitdiff
path: root/package/libpcap/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/libpcap/Makefile')
-rw-r--r--package/libpcap/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/package/libpcap/Makefile b/package/libpcap/Makefile
index 6d0dfafe7d..e9276367b7 100644
--- a/package/libpcap/Makefile
+++ b/package/libpcap/Makefile
@@ -1,8 +1,11 @@
+# $Id$
+
include $(TOPDIR)/rules.mk
PKG_NAME := libpcap
PKG_VERSION := 0.8.3
PKG_RELEASE := 1
+PKG_MD5SUM := 56a9d4615d8354fcfe8cff8c8443c77b
PKG_SOURCE_SITE := http://www.tcpdump.org/release
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.gz
@@ -10,10 +13,9 @@ PKG_SOURCE_CAT := zcat
PKG_SOURCE_DIR := $(PKG_NAME)-$(PKG_VERSION)
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_SOURCE_DIR)
-
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) x $(PKG_SOURCE_SITE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(TOOL_BUILD_DIR)
@@ -57,4 +59,3 @@ install:
clean:
rm -rf $(PKG_BUILD_DIR)
rm -f $(STAGING_DIR)/lib/libpcap*
-