include $(TOPDIR)/rules.mk
PKG_NAME:=iputils
-PKG_VERSION:=20071127
+PKG_VERSION:=20100418
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-s$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://www.skbuff.net/iputils
-PKG_MD5SUM:=12245e9927d60ff5cf4a99d265bcb7d3
+PKG_MD5SUM:=df6b0062118cdc5c62e3c810f831e976
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-s$(PKG_VERSION)
CATEGORY:=Network
TITLE:=iputils - arping
URL:=http://www.skbuff.net/iputils
+ DEPENDS:= +sysfsutils
endef
define Package/iputils-arping/description
endef
MAKE_FLAGS += \
- CFLAGS="$(TARGET_CFLAGS)"
+ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include -L$(STAGING_DIR)/usr/lib"
define Package/iputils-arping/install
$(INSTALL_DIR) $(1)/usr/bin
LASTTAG:=`git-describe HEAD | sed -e 's/-.*//'`
TAG:=`date +s%Y%m%d`
-@@ -29,7 +32,7 @@ all: $(TARGETS)
- tftpd: tftpd.o tftpsubs.o
- ping: ping.o ping_common.o
- ping6: ping6.o ping_common.o
--ping.o ping6.o ping_common.o: ping_common.h
-+ping.o ping_common.o: ping_common.h
- tftpd.o tftpsubs.o: tftp.h
-
- rdisc_srv: rdisc_srv.o
--- /dev/null
+--- a/Makefile
++++ b/Makefile
+@@ -30,9 +30,11 @@ all: $(TARGETS)
+
+
+ tftpd: tftpd.o tftpsubs.o
+-arping: arping.o -lsysfs
++arping: arping.o
++ $(CC) $(CFLAGS) -o $@ arping.o -lsysfs
+ ping: ping.o ping_common.o
+-ping6: ping6.o ping_common.o -lresolv -lcrypto
++ping6: ping6.o ping_common.o
++ $(CC) $(CFLAGS) -o $@ ping6.o ping_common.o -lresolv -lcrypto
+ ping.o ping6.o ping_common.o: ping_common.h
+ tftpd.o tftpsubs.o: tftp.h
+