1 #############################################################
5 #############################################################
6 LTRACE_SOURCE
=ltrace_0.3
.31.
tar.gz
7 LTRACE_SITE
=http
://ftp.debian.org
/debian
/pool
/main
/l
/ltrace
8 LTRACE_DIR
=$(BUILD_DIR
)/ltrace-0.3
.31
10 LTRACE_TARGET_BINARY
=usr
/bin
/ltrace
12 $(DL_DIR
)/$(LTRACE_SOURCE
):
13 $(WGET
) -P
$(DL_DIR
) $(LTRACE_SITE
)/$(LTRACE_SOURCE
)
15 $(LTRACE_DIR
)/.source
: $(DL_DIR
)/$(LTRACE_SOURCE
)
16 zcat
$(DL_DIR
)/$(LTRACE_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
17 touch
$(LTRACE_DIR
)/.source
19 $(LTRACE_DIR
)/.configured
: $(LTRACE_DIR
)/.source
21 $(TARGET_CONFIGURE_OPTS
) \
23 --target
=$(GNU_TARGET_NAME
) \
24 --host
=$(GNU_TARGET_NAME
) \
25 --build
=$(GNU_HOST_NAME
) \
29 touch
$(LTRACE_DIR
)/.configured
;
31 $(LTRACE_DIR
)/$(LTRACE_BINARY
): $(LTRACE_DIR
)/.configured
32 $(MAKE
) CC
=$(TARGET_CC
) -C
$(LTRACE_DIR
)
34 $(TARGET_DIR
)/$(LTRACE_TARGET_BINARY
): $(LTRACE_DIR
)/$(LTRACE_BINARY
)
35 $(MAKE
) DESTDIR
=$(TARGET_DIR
) -C
$(LTRACE_DIR
) install
36 rm -Rf
$(TARGET_DIR
)/usr
/man
38 ltrace
: uclibc
$(TARGET_DIR
)/$(LTRACE_TARGET_BINARY
)
40 ltrace-source
: $(DL_DIR
)/$(LTRACE_SOURCE
)
43 $(MAKE
) prefix=$(TARGET_DIR
)/usr
-C
$(LTRACE_DIR
) uninstall
44 -$(MAKE
) -C
$(LTRACE_DIR
) clean
This page took 0.044207 seconds and 5 git commands to generate.