summaryrefslogtreecommitdiff
path: root/package/ltrace/Makefile
blob: 2fa2d9d44e3dceeb614c1bc44b4ef418067eb46f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include $(ADK_TOPDIR)/rules.mk

PKG_NAME:=		ltrace
PKG_VERSION:=		c18a46eff706e956c4dc755144d752dc163a1145
PKG_RELEASE:=		1
PKG_DESCR:=		intercepts and records dynamic library calls 
PKG_SECTION:=		app/debug
PKG_DEPENDS:=		libelf
PKG_BUILDDEP:=		libelf
PKG_NEEDS:=		c++
PKG_URL:=		http://ltrace.org/
PKG_SITES:=		git://git.debian.org/git/collab-maint/ltrace.git

include $(ADK_TOPDIR)/mk/package.mk

$(eval $(call PKG_template,LTRACE,ltrace,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

AUTOTOOL_STYLE:=	autoreconf
CONFIGURE_ARGS+=	--disable-werror

ltrace-install:
	$(INSTALL_DIR) $(IDIR_LTRACE)/usr/sbin
	$(INSTALL_BIN) $(WRKINST)/usr/bin/ltrace \
		$(IDIR_LTRACE)/usr/sbin

include ${ADK_TOPDIR}/mk/pkg-bottom.mk