Makefile 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  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 $(ADK_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/debug
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include $(ADK_TOPDIR)/mk/package.mk
  16. $(eval $(call PKG_template,ARPWATCH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. INSTALL_STYLE:= manual
  18. MAKE_FLAGS+= ARPDIR=/etc/arpwatch \
  19. CCOPT="$(TARGET_CFLAGS)" \
  20. INCLS="-I. -I$(STAGING_TARGET_DIR)/usr/include" \
  21. LIBS="-L$(STAGING_TARGET_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 ${ADK_TOPDIR}/mk/pkg-bottom.mk