Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #
  2. # Copyright (C) 2006-2012 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. include $(INCLUDE_DIR)/kernel.mk
  9. PKG_NAME:=strace
  10. PKG_VERSION:=4.8
  11. PKG_RELEASE:=1
  12. PKG_MD5SUM:=c575ef43829586801f514fd91bfe7575
  13. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
  14. PKG_SOURCE_URL:=@SF/$(PKG_NAME)
  15. PKG_LICENSE:=BSD-3c
  16. PKG_LICENSE_FILES:=COPYRIGHT
  17. PKG_MAINTAINER:=Felix Fietkau <nbd@openwrt.org>
  18. PKG_FIXUP:=autoreconf
  19. PKG_INSTALL:=1
  20. include $(INCLUDE_DIR)/package.mk
  21. define Package/strace
  22. SECTION:=utils
  23. CATEGORY:=Utilities
  24. TITLE:=System call tracer
  25. URL:=http://strace.sourceforge.net/
  26. endef
  27. define Package/strace/description
  28. A useful diagnostic, instructional, and debugging tool. Allows you to track what
  29. system calls a program makes while it is running.
  30. endef
  31. MAKE_FLAGS := \
  32. CCOPT="$(TARGET_CFLAGS)"
  33. define Package/strace/install
  34. $(INSTALL_DIR) $(1)/usr/bin
  35. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/strace $(1)/usr/bin/
  36. endef
  37. $(eval $(call BuildPackage,strace))