1 #############################################################
5 #############################################################
6 GAWK_SOURCE
:=gawk-3.1
.2.
tar.gz
7 GAWK_SITE
:=ftp
://ftp.gnu.org
/gnu
/gawk
9 GAWK_DIR
:=$(BUILD_DIR
)/gawk-3.1
.2
11 GAWK_TARGET_BINARY
:=usr
/bin
/gawk
13 $(DL_DIR
)/$(GAWK_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(GAWK_SITE
)/$(GAWK_SOURCE
)
16 gawk-source
: $(DL_DIR
)/$(GAWK_SOURCE
)
18 $(GAWK_DIR
)/.unpacked
: $(DL_DIR
)/$(GAWK_SOURCE
)
19 $(GAWK_CAT
) $(DL_DIR
)/$(GAWK_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
20 touch
$(GAWK_DIR
)/.unpacked
22 $(GAWK_DIR
)/.configured
: $(GAWK_DIR
)/.unpacked
23 (cd
$(GAWK_DIR
); rm -rf config.cache
; autoconf
; \
24 $(TARGET_CONFIGURE_OPTS
) \
25 CFLAGS
="$(TARGET_CFLAGS)" \
26 ac_cv_func_getpgrp_void
=yes \
28 --target
=$(GNU_TARGET_NAME
) \
29 --host
=$(GNU_TARGET_NAME
) \
30 --build
=$(GNU_HOST_NAME
) \
35 --libexecdir
=/usr
/lib \
37 --datadir=/usr
/share \
38 --localstatedir
=/var \
42 $(DISABLE_LARGEFILE
) \
44 touch
$(GAWK_DIR
)/.configured
46 $(GAWK_DIR
)/$(GAWK_BINARY
): $(GAWK_DIR
)/.configured
47 $(MAKE
) CC
=$(TARGET_CC
) -C
$(GAWK_DIR
)
49 $(TARGET_DIR
)/$(GAWK_TARGET_BINARY
): $(GAWK_DIR
)/$(GAWK_BINARY
)
50 rm -f
$(TARGET_DIR
)/usr
/bin
/awk
51 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(GAWK_DIR
) install
52 rm -f
$(TARGET_DIR
)/usr
/bin
/gawk-
*
53 (cd
$(TARGET_DIR
)/usr
/bin
; ln
-sf gawk awk
)
54 $(STRIP
) $(TARGET_DIR
)/usr
/lib
/awk
/* > /dev
/null
2>&1
55 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
56 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc
58 gawk
: uclibc
$(TARGET_DIR
)/$(GAWK_TARGET_BINARY
)
61 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(GAWK_DIR
) uninstall
62 -$(MAKE
) -C
$(GAWK_DIR
) clean
This page took 0.041405 seconds and 5 git commands to generate.