X-Git-Url: http://git.rohieb.name/openwrt.git/blobdiff_plain/991ec0e8624379ca701c67f28cf420151583d351..841e5a0f16d54f9548f83f30c8b4efd736a3af12:/package/arpwatch/Makefile diff --git a/package/arpwatch/Makefile b/package/arpwatch/Makefile index 8a267692a..a20c58f52 100644 --- a/package/arpwatch/Makefile +++ b/package/arpwatch/Makefile @@ -7,9 +7,7 @@ PKG_VERSION:=2.1a11 PKG_RELEASE:=1 PKG_MD5SUM:=9ecd00db892737431b0e524f3e52e19e -PKG_SOURCE_URL:= \ - http://nbd.vd-s.ath.cx/openwrt \ - http://nthill.free.fr/openwrt/sources/$(PKG_NAME)/ +PKG_SOURCE_URL:=http://nbd.vd-s.ath.cx/openwrt PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_CAT:=zcat PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) @@ -52,13 +50,14 @@ $(PKG_BUILD_DIR)/.built: ARPDIR=/etc/arpwatch \ CCOPT="$(TARGET_CFLAGS)" \ INCLS="-I. -I$(STAGING_DIR)/usr/include" \ - LIBS="-L$(STAGING_DIR)/usr/lib -lpcap" \ + LIBS="-L$(STAGING_DIR)/usr/lib -lpcap" + touch $@ $(IPKG_ARPWATCH): mkdir -p $(IDIR_ARPWATCH)/usr/sbin - cp $(PKG_BUILD_DIR)/arpwatch $(IDIR_ARPWATCH)/usr/sbin/ - cp $(PKG_BUILD_DIR)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/ + $(CP) $(PKG_BUILD_DIR)/arpwatch $(IDIR_ARPWATCH)/usr/sbin/ + $(CP) $(PKG_BUILD_DIR)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/ $(STRIP) $(IDIR_ARPWATCH)/usr/sbin/* mkdir -p $(IDIR_ARPWATCH)/etc/arpwatch - cp $(PKG_BUILD_DIR)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/ + $(CP) $(PKG_BUILD_DIR)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/ $(IPKG_BUILD) $(IDIR_ARPWATCH) $(PACKAGE_DIR)