You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

46 lines
1.0 KiB

  1. #
  2. # Copyright (C) 2007-2011 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=daemonlogger
  9. PKG_VERSION:=1.2.1
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=@SF/daemonlogger
  13. PKG_HASH:=79fcd34d815e9c671ffa1ea3c7d7d50f895bb7a79b4448c4fd1c37857cf44a0b
  14. PKG_LICENSE:=GPL-2.0
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
  17. PKG_INSTALL:=1
  18. include $(INCLUDE_DIR)/package.mk
  19. define Package/daemonlogger
  20. SECTION:=net
  21. CATEGORY:=Network
  22. DEPENDS:=+libpcap +libdnet
  23. TITLE:=Software Network Tap
  24. URL:=http://www.snort.org/snort-downloads/additional-downloads
  25. endef
  26. CONFIGURE_VARS += \
  27. BUILD_CC="$(TARGET_CC)" \
  28. HOSTCC="$(HOSTCC)"
  29. MAKE_FLAGS := CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
  30. define Package/daemonlogger/install
  31. $(INSTALL_DIR) $(1)/usr/bin
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/daemonlogger $(1)/usr/bin/
  33. endef
  34. $(eval $(call BuildPackage,daemonlogger))