X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/363746833cc0e113f56d80f6bbe63c99dae9e3cc..e659c3738ab3ec671a2870a3ae243f08fefcb9ea:/openwrt/package/arpwatch/Makefile?ds=inline diff --git a/openwrt/package/arpwatch/Makefile b/openwrt/package/arpwatch/Makefile index 8a267692a..a20c58f52 100644 --- a/openwrt/package/arpwatch/Makefile +++ b/openwrt/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)