Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  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_MD5SUM:=acb64aa6cd5777e297569f100b5c39ee
  14. PKG_LICENSE:=GPL-2.0
  15. PKG_LICENSE_FILES:=COPYING
  16. PKG_MAINTAINER:=Mirko Vogt <mirko@openwrt.org>
  17. PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/daemonlogger
  21. SECTION:=net
  22. CATEGORY:=Network
  23. DEPENDS:=+libpcap +libdnet
  24. TITLE:=Software Network Tap
  25. URL:=http://www.snort.org/snort-downloads/additional-downloads
  26. endef
  27. CONFIGURE_VARS += \
  28. BUILD_CC="$(TARGET_CC)" \
  29. HOSTCC="$(HOSTCC)"
  30. MAKE_FLAGS := CCOPT="$(TARGET_CFLAGS)" INCLS="-I. $(TARGET_CPPFLAGS)"
  31. define Package/daemonlogger/install
  32. $(INSTALL_DIR) $(1)/usr/bin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/daemonlogger $(1)/usr/bin/
  34. endef
  35. $(eval $(call BuildPackage,daemonlogger))