binutils: update to 2.43.1
[openadk.git] / package / arpwatch / Makefile
blob5ef3442fbaff5e1e7e03e1f78d4864b1a2ec7a86
1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR)/rules.mk
6 PKG_NAME:= arpwatch
7 PKG_VERSION:= 2.1a15
8 PKG_RELEASE:= 1
9 PKG_HASH:= c1df9737e208a96a61fa92ddad83f4b4d9be66f8992f3c917e9edf4b05ff5898
10 PKG_DESCR:= ethernet monitor program
11 PKG_SECTION:= net/debug
12 PKG_DEPENDS:= libpcap
13 PKG_BUILDDEP:= libpcap
14 PKG_URL:= http://www-nrg.ee.lbl.gov/
15 PKG_SITES:= ftp://ftp.ee.lbl.gov/
17 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
19 include $(ADK_TOPDIR)/mk/package.mk
21 $(eval $(call PKG_template,ARPWATCH,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
23 INSTALL_STYLE:= manual
25 MAKE_FLAGS+= ARPDIR=/etc/arpwatch \
26 CCOPT="$(TARGET_CFLAGS)" \
27 INCLS="-I. -I$(STAGING_TARGET_DIR)/usr/include" \
28 LIBS="-L$(STAGING_TARGET_DIR)/usr/lib -lpcap"
30 do-install:
31 $(INSTALL_DIR) $(IDIR_ARPWATCH)/usr/sbin $(IDIR_ARPWATCH)/etc/arpwatch
32 $(INSTALL_BIN) $(WRKBUILD)/arpwatch $(IDIR_ARPWATCH)/usr/sbin/
33 $(INSTALL_BIN) $(WRKBUILD)/arpsnmp $(IDIR_ARPWATCH)/usr/sbin/
34 $(INSTALL_DATA) $(WRKBUILD)/arp.dat $(IDIR_ARPWATCH)/etc/arpwatch/
36 include ${ADK_TOPDIR}/mk/pkg-bottom.mk