1 #############################################################
5 #############################################################
6 STRACE_SOURCE
:=strace-4.5
.3.
tar.bz2
7 STRACE_SITE
:=http
://aleron.dl.sourceforge.net
/sourceforge
/strace
9 STRACE_DIR
:=$(BUILD_DIR
)/strace-4.5
.3
12 $(DL_DIR
)/$(STRACE_SOURCE
):
13 $(WGET
) -P
$(DL_DIR
) $(STRACE_SITE
)/$(STRACE_SOURCE
)
15 strace-source
: $(DL_DIR
)/$(STRACE_SOURCE
)
17 $(STRACE_DIR
)/.unpacked
: $(DL_DIR
)/$(STRACE_SOURCE
)
18 $(STRACE_CAT
) $(DL_DIR
)/$(STRACE_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
19 touch
$(STRACE_DIR
)/.unpacked
21 $(STRACE_DIR
)/.configured
: $(STRACE_DIR
)/.unpacked
22 (cd
$(STRACE_DIR
); rm -rf config.cache
; \
23 $(TARGET_CONFIGURE_OPTS
) \
24 CFLAGS
="$(TARGET_CFLAGS)" \
26 --target
=$(GNU_TARGET_NAME
) \
27 --host
=$(GNU_TARGET_NAME
) \
28 --build
=$(GNU_HOST_NAME
) \
33 --libexecdir
=/usr
/lib \
35 --datadir=/usr
/share \
36 --localstatedir
=/var \
40 $(DISABLE_LARGEFILE
) \
42 touch
$(STRACE_DIR
)/.configured
44 $(STRACE_DIR
)/strace
: $(STRACE_DIR
)/.configured
45 $(MAKE
) CC
=$(TARGET_CC
) -C
$(STRACE_DIR
)
47 $(TARGET_DIR
)/usr
/bin
/strace
: $(STRACE_DIR
)/strace
48 install -c
$(STRACE_DIR
)/strace
$(TARGET_DIR
)/usr
/bin
/strace
49 $(STRIP
) $(TARGET_DIR
)/usr
/bin
/strace
> /dev
/null
2>&1
51 strace
: uclibc
$(TARGET_DIR
)/usr
/bin
/strace
54 $(MAKE
) -C
$(STRACE_DIR
) clean