struct / union in initializer, RFE #901.
[sdcc.git] / sdcc-cf / packages / build.wget / Makefile
blobe1faa5b6eb1550728e8602c5d524779388229cde
1 include ../packages.mk
3 # OOPS, we need some other mathod to bootstrap wget!
5 PACKAGE=wget
6 VERSION=1.14
7 PACKAGE_FILE=$(PACKAGE)-$(VERSION).tar.xz
9 PACKAGE_DIR=$(PACKAGE)-$(VERSION)
11 all: do-all
13 download/$(PACKAGE_FILE):
14 wget -P download ftp://mirrors.kernel.org/gnu/$(PACKAGE)/$(PACKAGE_FILE)
16 $(PACKAGE)-unpack.tag: unpack-downloaded-package
17 touch $@
19 $(PACKAGE)-configure.tag: $(PACKAGE)-unpack.tag
20 cd $(PACKAGE_DIR) && \
21 ./configure --prefix=$(LOCAL_DIR) --with-ssl
22 touch $@
24 $(PACKAGE)-make.tag: $(PACKAGE)-configure.tag
25 $(MAKE) -C $(PACKAGE_DIR)
26 touch $@
28 $(PACKAGE)-install.tag: $(PACKAGE)-make.tag
29 $(MAKE) -C $(PACKAGE_DIR) install
30 touch $@
32 include../common_deps.mk