update busybox+ipkg to latest ipkg (v0.99.162),
[openwrt.git] / openwrt / package / iptraf / Makefile
index 83d3cac..45377c6 100644 (file)
@@ -1,9 +1,11 @@
+# $Id$
+
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=iptraf
-PKG_VERSION:=2.7.0
+PKG_VERSION:=3.0.0
 PKG_RELEASE:=1
-PKG_MD5SUM:=7ff0bc933a0a57a4ca9e2b0443307539
+PKG_MD5SUM:=377371c28ee3c21a76f7024920649ea8
 
 PKG_SOURCE_URL:=ftp://iptraf.seul.org/pub/iptraf/ \
        ftp://the.wiretapped.net/pub/security/network-monitoring/iptraf/
@@ -17,10 +19,10 @@ include $(TOPDIR)/package/rules.mk
 
 $(eval $(call PKG_template,IPTRAF,iptraf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH)))
 
-$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared
+$(PKG_BUILD_DIR)/.configured:
        touch $@
 
-$(PKG_BUILD_DIR)/.built:
+$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured
        $(MAKE) -C $(PKG_BUILD_DIR)/src \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
@@ -34,7 +36,9 @@ $(PKG_BUILD_DIR)/.built:
        touch $@
 
 $(IPKG_IPTRAF):
-       install -d -m0755 $(IDIR_IPTRAF)/usr/bin
+       install -d -m0755 $(IDIR_IPTRAF)/usr/bin \
+                         $(IDIR_IPTRAF)/var/run/iptraf \
+                         $(IDIR_IPTRAF)/var/lib/iptraf
        install -m0755 $(PKG_BUILD_DIR)/src/iptraf $(IDIR_IPTRAF)/usr/bin/
        $(RSTRIP) $(IDIR_IPTRAF)
        $(IPKG_BUILD) $(IDIR_IPTRAF) $(PACKAGE_DIR)
This page took 0.023395 seconds and 4 git commands to generate.