summaryrefslogtreecommitdiffstats
path: root/rules/autoconf-2.13.make
diff options
context:
space:
mode:
Diffstat (limited to 'rules/autoconf-2.13.make')
-rw-r--r--rules/autoconf-2.13.make123
1 files changed, 123 insertions, 0 deletions
diff --git a/rules/autoconf-2.13.make b/rules/autoconf-2.13.make
new file mode 100644
index 000000000..6113fe9bb
--- /dev/null
+++ b/rules/autoconf-2.13.make
@@ -0,0 +1,123 @@
+# $Id: autoconf-2.13.make,v 1.1 2003/04/24 08:06:33 jst Exp $
+#
+# (c) 2002 by Pengutronix e.K., Hildesheim, Germany
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXDIST project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES += autoconf213
+
+#
+# Paths and names
+#
+AUTOCONF213 = autoconf-2.13
+AUTOCONF213_URL = ftp://ftp.gnu.org/pub/gnu/autoconf/$(AUTOCONF213).tar.gz
+AUTOCONF213_SOURCE = $(SRCDIR)/$(AUTOCONF213).tar.gz
+AUTOCONF213_DIR = $(BUILDDIR)/$(AUTOCONF213)
+AUTOCONF213_EXTRACT = gzip -dc
+
+# ----------------------------------------------------------------------------
+# Get
+# ----------------------------------------------------------------------------
+
+autoconf213_get: $(STATEDIR)/autoconf213.get
+
+$(STATEDIR)/autoconf213.get: $(AUTOCONF213_SOURCE)
+ touch $@
+
+$(AUTOCONF213_SOURCE):
+ @echo
+ @echo -----------------------
+ @echo target: autoconf213.get
+ @echo -----------------------
+ @echo
+ wget -P $(SRCDIR) $(PASSIVEFTP) $(AUTOCONF213_URL)
+
+# ----------------------------------------------------------------------------
+# Extract
+# ----------------------------------------------------------------------------
+
+autoconf213_extract: $(STATEDIR)/autoconf213.extract
+
+$(STATEDIR)/autoconf213.extract: $(STATEDIR)/autoconf213.get
+ @echo
+ @echo ---------------------------
+ @echo target: autoconf213.extract
+ @echo ---------------------------
+ @echo
+ $(AUTOCONF213_EXTRACT) $(AUTOCONF213_SOURCE) | $(TAR) -C $(BUILDDIR) -xf -
+ touch $@
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+autoconf213_prepare: $(STATEDIR)/autoconf213.prepare
+
+$(STATEDIR)/autoconf213.prepare: $(STATEDIR)/autoconf213.extract
+ @echo
+ @echo ---------------------------
+ @echo target: autoconf213.prepare
+ @echo ---------------------------
+ @echo
+ cd $(AUTOCONF213_DIR) && \
+ CFLAGS=$(CFLAGS) ./configure --prefix=$(PTXCONF_PREFIX)/$(AUTOCONF213)
+ touch $@
+
+# ----------------------------------------------------------------------------
+# Compile
+# ----------------------------------------------------------------------------
+
+autoconf213_compile: $(STATEDIR)/autoconf213.compile
+
+$(STATEDIR)/autoconf213.compile: $(STATEDIR)/autoconf213.prepare
+ @echo
+ @echo -------------------
+ @echo target: autoconf213.compile
+ @echo -------------------
+ @echo
+ make -C $(AUTOCONF213_DIR) $(MAKEPARMS)
+ touch $@
+
+# ----------------------------------------------------------------------------
+# Install
+# ----------------------------------------------------------------------------
+
+autoconf213_install: $(STATEDIR)/autoconf213.install
+
+$(STATEDIR)/autoconf213.install: $(STATEDIR)/autoconf213.compile
+ @echo
+ @echo -------------------
+ @echo target: autoconf213.install
+ @echo -------------------
+ @echo
+ make -C $(AUTOCONF213_DIR) install
+ touch $@
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+autoconf213_targetinstall: $(STATEDIR)/autoconf213.targetinstall
+
+$(STATEDIR)/autoconf213.targetinstall: $(STATEDIR)/autoconf213.install
+ @echo
+ @echo -------------------------
+ @echo target: autoconf213.targetinstall
+ @echo -------------------------
+ @echo
+ touch $@
+
+# ----------------------------------------------------------------------------
+# Clean
+# ----------------------------------------------------------------------------
+
+autoconf213_clean:
+ rm -rf $(STATEDIR)/autoconf213.* $(AUTOCONF213_DIR)
+
+# vim: syntax=make