2 # Copyright (C) 2006 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
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@SF/strace
17 PKG_MD5SUM:=09bcd5d00ece28f8154dec11cadfce3c
20 PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
22 include $(INCLUDE_DIR)/package.mk
27 TITLE:=System call tracer
29 A useful diagnostic, instructional, and debugging tool. \\\
30 Allows you to track what system calls a program makes while it is \\\
32 URL:=http://strace.sourceforge.net/
38 $(MAKE) -C $(PKG_BUILD_DIR) \
42 define Package/strace/install
43 install -d -m0755 $(1)/usr/sbin
44 install -m0755 $(PKG_BUILD_DIR)/strace $(1)/usr/sbin/
47 $(eval $(call BuildPackage,strace))