123456789101112131415161718192021222324252627282930313233343536 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(ADK_TOPDIR)/rules.mk
- PKG_NAME:= arpwatch
- PKG_VERSION:= 2.1a15
- PKG_RELEASE:= 1
- PKG_HASH:= c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898
- PKG_DESCR:= ethernet monitor program
- PKG_SECTION:= net/debug
- PKG_DEPENDS:= libpcap
- PKG_BUILDDEP:= libpcap
- PKG_URL:= http://www-nrg.ee.lbl.gov/
- PKG_SITES:= ftp://ftp.ee.lbl.gov/
- DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
- include $(ADK_TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,ARPWATCH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- INSTALL_STYLE:= manual
- MAKE_FLAGS+= ARPDIR=/etc/arpwatch \
- CCOPT="$(TARGET_CFLAGS)" \
- INCLS="-I. -I$(STAGING_TARGET_DIR)/usr/include" \
- LIBS="-L$(STAGING_TARGET_DIR)/usr/lib -lpcap"
- do-install:
- $(INSTALL_DIR) $(IDIR_ARPWATCH)/usr/sbin $(IDIR_ARPWATCH)/etc/arpwatch
- $(INSTALL_BIN) $(WRKBUILD)/arpwatch $(IDIR_ARPWATCH)/usr/sbin/
- $(INSTALL_BIN) $(WRKBUILD)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/
- $(INSTALL_DATA) $(WRKBUILD)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/
- include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|