7 GETTEXT_DIR
=$(PACKAGE
)-$(VERSION
)
10 all: $(PACKAGE
)-install.tag
clean
12 download
/$(PACKAGE
)-$(VERSION
).
tar.gz
:
13 wget
-nv
-P download http
://ftp.gnu.org
/pub
/gnu
/$(PACKAGE
)/$(PACKAGE
)-$(VERSION
).
tar.gz
15 $(PACKAGE
)-unpack.tag
: download
/$(PACKAGE
)-$(VERSION
).
tar.gz
16 tar xzvf download
/$(PACKAGE
)-$(VERSION
).
tar.gz
19 $(PACKAGE
)-configure.tag
: $(PACKAGE
)-unpack.tag
20 cd
$(PACKAGE
)-$(VERSION
) && \
21 .
/configure
--prefix=$(LOCAL_DIR
) CFLAGS
="$(CFLAGS)" CXXFLAGS
="$(CXXFLAGS)" LDFLAGS
="$(LDFLAGS)"
24 $(PACKAGE
)-make.tag
: $(PACKAGE
)-configure.tag
25 $(MAKE
) -C
$(GETTEXT_DIR
)
28 $(PACKAGE
)-install.tag
: $(PACKAGE
)-make.tag
29 $(MAKE
) -C
$(GETTEXT_DIR
) install prefix=$(LOCAL_DIR
)
34 rm -rf
$(GETTEXT_DIR
) download
/* *.tag