5 PACKAGE_FILE
=$(PACKAGE
)-$(VERSION
).
tar.bz2
7 PACKAGE_DIR
=$(PACKAGE
)-$(VERSION
)
10 all: $(PACKAGE
)-install.tag
clean
12 download
/$(PACKAGE_FILE
):
13 wget
-P download ftp
://ftp.gnu.org
/gnu
/$(PACKAGE
)/$(PACKAGE_FILE
)
15 $(PACKAGE
)-download.tag
: download
/$(PACKAGE_FILE
)
18 $(PACKAGE
)-unpack.tag
: $(PACKAGE
)-download.tag
19 tar xjvf download
/$(PACKAGE_FILE
)
22 $(PACKAGE
)-configure.tag
: $(PACKAGE
)-unpack.tag
23 cd
$(PACKAGE_DIR
) && \
24 .
/configure
--prefix=$(LOCAL_DIR
)
27 $(PACKAGE
)-make.tag
: $(PACKAGE
)-configure.tag
28 $(MAKE
) -C
$(PACKAGE_DIR
)
31 $(PACKAGE
)-install.tag
: $(PACKAGE
)-make.tag
32 $(MAKE
) -C
$(PACKAGE_DIR
) install
36 rm -rf
$(PACKAGE_DIR
) *.tag