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_MD5SUM:= cebfeb99c4a7c2a6cee2564770415fe7
  8. PKG_DESCR:= Ethernet monitor program
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= libpcap
  11. PKG_BUILDDEP:= 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. INSTALL_STYLE:= manual
  17. MAKE_FLAGS+= ARPDIR=/etc/arpwatch \
  18. CCOPT="$(TARGET_CFLAGS)" \
  19. INCLS="-I. -I$(STAGING_DIR)/usr/include" \
  20. LIBS="-L$(STAGING_DIR)/usr/lib -lpcap"
  21. do-install:
  22. $(INSTALL_DIR) $(IDIR_ARPWATCH)/usr/sbin $(IDIR_ARPWATCH)/etc/arpwatch
  23. $(INSTALL_BIN) $(WRKBUILD)/arpwatch $(IDIR_ARPWATCH)/usr/sbin/
  24. $(INSTALL_BIN) $(WRKBUILD)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/
  25. $(INSTALL_DATA) $(WRKBUILD)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/
  26. include ${TOPDIR}/mk/pkg-bottom.mk