1 #############################################################
5 #############################################################
6 DIFFUTILS_SOURCE
:=diffutils-2.8
.4.
tar.gz
7 DIFFUTILS_SITE
:=ftp
://alpha.gnu.org
/gnu
/diffutils
/
9 DIFFUTILS_DIR
:=$(BUILD_DIR
)/diffutils-2.8
.4
10 DIFFUTILS_BINARY
:=src
/diff
11 DIFFUTILS_TARGET_BINARY
:=usr
/bin
/diff
13 $(DL_DIR
)/$(DIFFUTILS_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(DIFFUTILS_SITE
)/$(DIFFUTILS_SOURCE
)
16 diffutils-source
: $(DL_DIR
)/$(DIFFUTILS_SOURCE
)
18 $(DIFFUTILS_DIR
)/.unpacked
: $(DL_DIR
)/$(DIFFUTILS_SOURCE
)
19 $(DIFFUTILS_CAT
) $(DL_DIR
)/$(DIFFUTILS_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
20 touch
$(DIFFUTILS_DIR
)/.unpacked
22 $(DIFFUTILS_DIR
)/.configured
: $(DIFFUTILS_DIR
)/.unpacked
23 (cd
$(DIFFUTILS_DIR
); rm -rf config.cache
; \
24 $(TARGET_CONFIGURE_OPTS
) \
25 CFLAGS
="$(TARGET_CFLAGS)" \
27 --target
=$(GNU_TARGET_NAME
) \
28 --host
=$(GNU_TARGET_NAME
) \
29 --build
=$(GNU_HOST_NAME
) \
34 --libexecdir
=/usr
/lib \
36 --datadir=/usr
/share \
37 --localstatedir
=/var \
41 $(DISABLE_LARGEFILE
) \
43 touch
$(DIFFUTILS_DIR
)/.configured
45 $(DIFFUTILS_DIR
)/$(DIFFUTILS_BINARY
): $(DIFFUTILS_DIR
)/.configured
46 $(MAKE
) CC
=$(TARGET_CC
) -C
$(DIFFUTILS_DIR
)
48 $(TARGET_DIR
)/$(DIFFUTILS_TARGET_BINARY
): $(DIFFUTILS_DIR
)/$(DIFFUTILS_BINARY
)
49 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(DIFFUTILS_DIR
) install
50 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
51 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
53 diffutils
: uclibc
$(TARGET_DIR
)/$(DIFFUTILS_TARGET_BINARY
)
56 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(DIFFUTILS_DIR
) uninstall
57 -$(MAKE
) -C
$(DIFFUTILS_DIR
) clean
60 rm -rf
$(DIFFUTILS_DIR
)
This page took 0.042469 seconds and 5 git commands to generate.