12345678910111213141516171819202122232425262728293031323334353637383940 |
- # This file is part of the OpenADK project. OpenADK is copyrighted
- # material, please see the LICENCE file in the top-level directory.
- include $(TOPDIR)/rules.mk
- PKG_NAME:= pmacct
- PKG_VERSION:= 0.11.6
- PKG_RELEASE:= 1
- PKG_MD5SUM:= e0f3bcba9a73b7a70bbf5a303cd22f77
- PKG_DESCR:= IP accounting daemons
- PKG_SECTION:= net
- PKG_DEPENDS:= libpcap
- PKG_URL:= http://www.pmacct.net
- PKG_SITES:= http://www.pmacct.net/
- include $(TOPDIR)/mk/package.mk
- $(eval $(call PKG_template,NFACCTD,nfacctd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- $(eval $(call PKG_template,PMACCTD,pmacctd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- $(eval $(call PKG_template,SFACCTD,sfacctd,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- $(eval $(call PKG_template,PMACCT_CLIENT,pmacct-client,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
- CONFIGURE_ENV+= --with-pcap-includes="$(STAGING_DIR)/usr/include" \
- --with-pcap-libs="$(STAGING_DIR)/usr/lib"
- CONFIGURE_STYLE:= gnu
- BUILD_STYLE:= auto
- INSTALL_STYLE:= auto
- post-install:
- ${INSTALL_DIR} $(IDIR_SFACCTD)/usr/sbin
- ${INSTALL_BIN} $(WRKINST)/usr/sbin/sfacctd $(IDIR_SFACCTD)/usr/sbin/
- ${INSTALL_DIR} $(IDIR_NFACCTD)/usr/sbin
- ${INSTALL_BIN} $(WRKINST)/usr/sbin/nfacctd $(IDIR_NFACCTD)/usr/sbin/
- ${INSTALL_DIR} $(IDIR_PMACCTD)/usr/sbin
- ${INSTALL_BIN} $(WRKINST)/usr/sbin/pmacctd $(IDIR_PMACCTD)/usr/sbin/
- ${INSTALL_DIR} $(IDIR_PMACCT_CLIENT)/usr/bin
- ${INSTALL_BIN} $(WRKINST)/usr/bin/pmacct $(IDIR_PMACCT_CLIENT)/usr/bin/
- include ${TOPDIR}/mk/pkg-bottom.mk
|