Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. # This file is part of the OpenADK project. OpenADK is copyrighted
  2. # material, please see the LICENCE file in the top-level directory.
  3. include $(TOPDIR)/rules.mk
  4. PKG_NAME:= arpwatch
  5. PKG_VERSION:= 2.1a15
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libpcap
  8. PKG_MD5SUM:= cebfeb99c4a7c2a6cee2564770415fe7
  9. PKG_DESCR:= Ethernet monitor program for keeping track of ethernet/ip address pairings
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libpcap
  12. PKG_URL:= http://www-nrg.ee.lbl.gov
  13. PKG_SITES:= ftp://ftp.ee.lbl.gov/
  14. include $(TOPDIR)/mk/package.mk
  15. $(eval $(call PKG_template,ARPWATCH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_STYLE= gnu
  17. BUILD_STYLE= auto
  18. MAKE_FLAGS+= ARPDIR=/etc/arpwatch \
  19. CCOPT="$(TARGET_CFLAGS)" \
  20. INCLS="-I. -I$(STAGING_DIR)/usr/include" \
  21. LIBS="-L$(STAGING_DIR)/usr/lib -lpcap"
  22. do-install:
  23. $(INSTALL_DIR) $(IDIR_ARPWATCH)/usr/sbin $(IDIR_ARPWATCH)/etc/arpwatch
  24. $(INSTALL_BIN) $(WRKBUILD)/arpwatch $(IDIR_ARPWATCH)/usr/sbin/
  25. $(INSTALL_BIN) $(WRKBUILD)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/
  26. $(INSTALL_DATA) $(WRKBUILD)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/
  27. include ${TOPDIR}/mk/pkg-bottom.mk