summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xbuild10
-rw-r--r--changelog5
-rw-r--r--control3
-rw-r--r--format1
-rw-r--r--gcc-4.7-4.7.2+sip1.orig.tar.bz2bin0 -> 81188783 bytes
-rw-r--r--source.mk44
7 files changed, 64 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..3fec32c
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+tmp/
diff --git a/build b/build
new file mode 100755
index 0000000..a1626e4
--- /dev/null
+++ b/build
@@ -0,0 +1,10 @@
+#!/usr/bin/make -f
+
+nop:
+ @:
+
+# POSIX.1-2008:
+# If the pathname does not begin with a '/' it shall be treated as relative to
+# the current working directory of the process, not relative to the directory
+# containing the makefile.
+include ../source.mk
diff --git a/changelog b/changelog
new file mode 100644
index 0000000..79be02f
--- /dev/null
+++ b/changelog
@@ -0,0 +1,5 @@
+gcc-4.7 (4.7.2+sip1-1) trunk
+
+ * Initial release.
+
+ -- "P. J. McDermott" <pjm@nac.net> Thu, 04 Apr 2013 21:55:36 -0400
diff --git a/control b/control
new file mode 100644
index 0000000..84035d3
--- /dev/null
+++ b/control
@@ -0,0 +1,3 @@
+Build-Depends: libz.1-dev
+Maintainer: "P. J. McDermott" <pjm@nac.net>
+Homepage: http://gcc.gnu.org/
diff --git a/format b/format
new file mode 100644
index 0000000..cd5ac03
--- /dev/null
+++ b/format
@@ -0,0 +1 @@
+2.0
diff --git a/gcc-4.7-4.7.2+sip1.orig.tar.bz2 b/gcc-4.7-4.7.2+sip1.orig.tar.bz2
new file mode 100644
index 0000000..c35e61e
--- /dev/null
+++ b/gcc-4.7-4.7.2+sip1.orig.tar.bz2
Binary files differ
diff --git a/source.mk b/source.mk
new file mode 100644
index 0000000..7b3f972
--- /dev/null
+++ b/source.mk
@@ -0,0 +1,44 @@
+NON_FREE_FILES = \
+ gcc/doc/fsf-funding.7 \
+ gcc/doc/g++.1 \
+ gcc/doc/gcc.1 \
+ gcc/doc/gcc.info \
+ gcc/doc/gccint.info \
+ gcc/doc/gccint.texi \
+ gcc/doc/gcc.texi \
+ gcc/doc/gcov.1 \
+ gcc/doc/gcov.texi \
+ gcc/doc/gfortran.1 \
+ gcc/doc/include/funding.texi \
+ gcc/doc/invoke.texi \
+ gcc/fortran/gfc-internals.texi \
+ gcc/fortran/gfortran.info \
+ gcc/fortran/gfortran.texi \
+ gcc/fortran/intrinsic.texi \
+ gcc/fortran/invoke.texi \
+ libgomp/libgomp.info \
+ libgomp/libgomp.texi
+
+UPSTREAM_VER = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \
+ sed 's/^\([0-9a-z.~-][0-9a-z.~-]*\)+sip[1-9][0-9]*.*$$/\1/')
+UPSTREAM_ARCHIVE = gcc-$(UPSTREAM_VER).tar.bz2
+UPSTREAM_URL = ftp://ftp.gnu.org/gnu/gcc/gcc-$(UPSTREAM_VER)/$(UPSTREAM_ARCHIVE)
+SOURCE_ARCHIVE = ../gcc-4.7-$(OPK_SOURCE_VERSION_UPSTREAM).orig.tar.bz2
+
+$(SOURCE_ARCHIVE):
+ wget "$(UPSTREAM_URL)"
+ if gpg --version >/dev/null 2>&1; then \
+ wget "$(UPSTREAM_URL).sig"; \
+ wget ftp://ftp.gnu.org/gnu/gnu-keyring.gpg; \
+ gpg --verify --keyring ./gnu-keyring.gpg \
+ "$(UPSTREAM_ARCHIVE).sig" || exit ${?}; \
+ fi
+ tar -xjf "$(UPSTREAM_ARCHIVE)"
+ for file in $(NON_FREE_FILES); do \
+ rm -f "gcc-$(UPSTREAM_VER)/$${file}"; \
+ done
+ tar -cjf '$(SOURCE_ARCHIVE)' "gcc-$(UPSTREAM_VER)"
+ rm -Rf "gcc-$(UPSTREAM_VER)"
+ rm -f "$(UPSTREAM_ARCHIVE)"
+
+source: $(SOURCE_ARCHIVE)