summaryrefslogtreecommitdiff
path: root/package/strace/Makefile
blob: 63a2dde73cc4a9e78ce49a11f8bfb2c5a68ef916 (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
30
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.

include ${TOPDIR}/rules.mk

PKG_NAME:=		strace
PKG_VERSION:=		4.5.20
PKG_RELEASE:=		1
PKG_MD5SUM:=		64dfe10d9db0c1e34030891695ffca4b
PKG_DESCR:=		System call trace program
PKG_SECTION:=		debug
PKG_SITES:=		${MASTER_SITE_SOURCEFORGE:=strace/}

DISTFILES:=		${PKG_NAME}-${PKG_VERSION}.tar.bz2

include ${TOPDIR}/mk/package.mk

$(eval $(call PKG_template,STRACE,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))

ifeq ($(ADK_STATIC),y)
TARGET_CFLAGS+=		-static
endif

INSTALL_STYLE:=		manual

do-install:
	${INSTALL_DIR} ${IDIR_STRACE}/usr/sbin
	${INSTALL_BIN} ${WRKBUILD}/strace ${IDIR_STRACE}/usr/sbin

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