Updated strace package to version 4.5.18 - dirent.h changed in the kernel sources...
[openwrt/svn-archive/archive.git] / utils / strace / Makefile
1 #
2 # Copyright (C) 2007 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7 # $Id$
8
9 include $(TOPDIR)/rules.mk
10
11 PKG_NAME:=strace
12 PKG_VERSION:=4.5.18
13 PKG_RELEASE:=2
14
15 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
16 PKG_SOURCE_URL:=@SF/$(PKG_NAME)
17 PKG_MD5SUM:=e9449fcee97e6a8ed73934c883c870e0
18
19 PKG_FIXUP = libtool
20
21 include $(INCLUDE_DIR)/package.mk
22
23 define Package/strace
24 SECTION:=utils
25 CATEGORY:=Utilities
26 TITLE:=System call tracer
27 URL:=http://strace.sourceforge.net/
28 endef
29
30 define Package/strace/description
31 A useful diagnostic, instructional, and debugging tool.
32 Allows you to track what system calls a program makes while it is
33 running.
34 endef
35
36 define Build/Compile
37 $(MAKE) -C $(PKG_BUILD_DIR) \
38 CC="$(TARGET_CC)"
39 endef
40
41 define Package/strace/install
42 $(INSTALL_DIR) $(1)/usr/sbin
43 $(INSTALL_BIN) $(PKG_BUILD_DIR)/$(PKG_NAME) $(1)/usr/sbin/
44 endef
45
46 $(eval $(call BuildPackage,strace))