X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/f62d1d10a4d4a709d5c5111e6ef940070e91c7b1..47f814e7a20fa529539b65464a86d745b618bc24:/package/tcpdump/Makefile diff --git a/package/tcpdump/Makefile b/package/tcpdump/Makefile index 82abd30ff..4e8b9343d 100644 --- a/package/tcpdump/Makefile +++ b/package/tcpdump/Makefile @@ -1,13 +1,12 @@ -############################################################# -# -# ebtables -# -############################################################# +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=tcpdump PKG_VERSION:=3.8.3 PKG_RELEASE:=1 +PKG_MD5SUM:=30645001f4b97019677cad88d3811904 + PKG_SOURCE_URL:=http://www.tcpdump.org/release PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) @@ -16,7 +15,7 @@ PKG_IPK:=$(PACKAGE_DIR)/$(PKG_NAME)_$(PKG_VERSION)-$(PKG_RELEASE)_$(ARCH).ipk PKG_IPK_DIR:=$(PKG_BUILD_DIR)/ipkg $(DL_DIR)/$(PKG_SOURCE): - $(WGET) -P $(DL_DIR) $(PKG_SOURCE_URL)/$(PKG_SOURCE) + $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE) $(PKG_MD5SUM) $(PKG_SOURCE_URL) $(PKG_BUILD_DIR)/.unpacked: $(DL_DIR)/$(PKG_SOURCE) $(PKG_CAT) $(DL_DIR)/$(PKG_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -