1 #############################################################
5 #############################################################
6 GETTEXT_SOURCE
:=gettext-0.11
.5.
tar.gz
7 GETTEXT_SITE
:=ftp
://ftp.gnu.org
/gnu
/gettext
8 GETTEXT_DIR
:=$(BUILD_DIR
)/gettext-0.11
.5
10 GETTEXT_BINARY
:=gettext
11 GETTEXT_TARGET_BINARY
:=usr
/bin
/gettext
13 $(DL_DIR
)/$(GETTEXT_SOURCE
):
14 $(WGET
) -P
$(DL_DIR
) $(GETTEXT_SITE
)/$(GETTEXT_SOURCE
)
16 gettext-source
: $(DL_DIR
)/$(GETTEXT_SOURCE
)
18 $(GETTEXT_DIR
)/.unpacked
: $(DL_DIR
)/$(GETTEXT_SOURCE
)
19 $(GETTEXT_CAT
) $(DL_DIR
)/$(GETTEXT_SOURCE
) |
tar -C
$(BUILD_DIR
) -xvf
-
20 touch
$(GETTEXT_DIR
)/.unpacked
22 $(GETTEXT_DIR
)/.configured
: $(GETTEXT_DIR
)/.unpacked
23 (cd
$(GETTEXT_DIR
); rm -rf config.cache
; \
24 $(TARGET_CONFIGURE_OPTS
) \
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 touch
$(GETTEXT_DIR
)/.configured
42 $(GETTEXT_DIR
)/$(GETTEXT_BINARY
): $(GETTEXT_DIR
)/.configured
43 $(MAKE
) CC
=$(TARGET_CC
) -C
$(GETTEXT_DIR
)
45 $(TARGET_DIR
)/$(GETTEXT_TARGET_BINARY
): $(GETTEXT_DIR
)/$(GETTEXT_BINARY
)
46 $(MAKE
) DESTDIR
=$(STAGING_DIR
) CC
=$(TARGET_CC
) -C
$(GETTEXT_DIR
) install
47 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(GETTEXT_DIR
) install
48 rm -rf
$(TARGET_DIR
)/share
/locale
$(TARGET_DIR
)/usr
/info \
49 $(TARGET_DIR
)/usr
/man
$(TARGET_DIR
)/usr
/share
/doc \
52 gettext
: uclibc
$(TARGET_DIR
)/$(GETTEXT_TARGET_BINARY
)
55 $(MAKE
) DESTDIR
=$(TARGET_DIR
) CC
=$(TARGET_CC
) -C
$(GETTEXT_DIR
) uninstall
56 -$(MAKE
) -C
$(GETTEXT_DIR
) clean
This page took 0.07121 seconds and 5 git commands to generate.