2 # Copyright (C) 2007 OpenWrt.org
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
9 include $(TOPDIR
)/rules.mk
14 ifneq ($(CONFIG_LINUX_2_6_27
),y
)
16 PKG_MD5SUM
:=77f66d09aa82981bb6d65fa19a2c1ba9
19 ifeq ($(CONFIG_TARGET_uml
),y
)
21 PKG_MD5SUM
:=e9449fcee97e6a8ed73934c883c870e0
25 ifeq ($(CONFIG_LINUX_2_6_27
),y
)
27 PKG_MD5SUM
:=e9449fcee97e6a8ed73934c883c870e0
31 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.bz2
32 PKG_SOURCE_URL
:=@SF
/$(PKG_NAME
)
36 include $(INCLUDE_DIR
)/package.mk
41 TITLE
:=System call tracer
42 URL
:=http
://strace.sourceforge.net
/
45 define Package
/strace
/description
46 A useful diagnostic
, instructional
, and debugging tool.
47 Allows you to track what system calls a program makes while it is
52 $(MAKE
) -C
$(PKG_BUILD_DIR
) \
56 define Package
/strace
/install
57 $(INSTALL_DIR
) $(1)/usr
/sbin
58 $(INSTALL_BIN
) $(PKG_BUILD_DIR
)/$(PKG_NAME
) $(1)/usr
/sbin
/
61 $(eval
$(call BuildPackage
,strace
))