summaryrefslogtreecommitdiff
path: root/gcc-fortran
diff options
context:
space:
mode:
authorDanny Rawlins <romster@shortcircuit.net.au>2006-11-21 22:03:23 +1100
committerDanny Rawlins <romster@shortcircuit.net.au>2006-11-21 22:03:23 +1100
commitdca6ea985b41392725664f0c3a76e23f1bf69682 (patch)
tree188051bf01a1897aa4df8238130681c8726240d8 /gcc-fortran
parent586de4fed3f2365589c3a460ab8c7d8f2a1645c7 (diff)
downloadcontrib-dca6ea985b41392725664f0c3a76e23f1bf69682.tar.gz
contrib-dca6ea985b41392725664f0c3a76e23f1bf69682.tar.xz
initial adding of ports from romsters repo
Diffstat (limited to 'gcc-fortran')
-rw-r--r--gcc-fortran/.footprint20
-rw-r--r--gcc-fortran/.footprint~41
-rw-r--r--gcc-fortran/.md5sum3
-rw-r--r--gcc-fortran/Pkgfile67
-rw-r--r--gcc-fortran/Pkgfile~67
-rw-r--r--gcc-fortran/gcc-fortran-4.0.3-version.patch12
6 files changed, 210 insertions, 0 deletions
diff --git a/gcc-fortran/.footprint b/gcc-fortran/.footprint
new file mode 100644
index 000000000..2b977eec3
--- /dev/null
+++ b/gcc-fortran/.footprint
@@ -0,0 +1,20 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/f90 -> gfortran
+lrwxrwxrwx root/root usr/bin/f95 -> gfortran
+-rwxr-xr-x root/root usr/bin/gfortran
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/gcc/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/
+-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/f951
+-rw-r--r-- root/root usr/lib/libgfortran.a
+-rwxr-xr-x root/root usr/lib/libgfortran.la
+lrwxrwxrwx root/root usr/lib/libgfortran.so -> libgfortran.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libgfortran.so.0 -> libgfortran.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libgfortran.so.0.0.0
+-rw-r--r-- root/root usr/lib/libgfortranbegin.a
+-rwxr-xr-x root/root usr/lib/libgfortranbegin.la
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/gfortran.1.gz
diff --git a/gcc-fortran/.footprint~ b/gcc-fortran/.footprint~
new file mode 100644
index 000000000..bf7850dbf
--- /dev/null
+++ b/gcc-fortran/.footprint~
@@ -0,0 +1,41 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+lrwxrwxrwx root/root usr/bin/f90 -> gfortran
+lrwxrwxrwx root/root usr/bin/f95 -> gfortran
+-rwxr-xr-x root/root usr/bin/gfortran
+-rwxr-xr-x root/root usr/bin/i686-pc-linux-gnu-gfortran
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/lib/
+drwxr-xr-x root/root usr/lib/gcc/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/
+-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/f951
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/dbm/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/firefox/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/firefox/dbm/
+lrwxrwxrwx root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/python -> python2.5
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/python2.4/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/python2.4/pyro/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/python2.4/pyro/simulators/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/python2.5/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/python2.5/pyro/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/python2.5/pyro/simulators/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/include/xorg/
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/install-tools/
+-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/install-tools/fixinc.sh
+-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/install-tools/fixincl
+drwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/install-tools/include/
+-rwxr-xr-x root/root usr/lib/gcc/i686-pc-linux-gnu/4.0.3/install-tools/mkheaders
+-rw-r--r-- root/root usr/lib/libgfortran.a
+-rwxr-xr-x root/root usr/lib/libgfortran.la
+lrwxrwxrwx root/root usr/lib/libgfortran.so -> libgfortran.so.0.0.0
+lrwxrwxrwx root/root usr/lib/libgfortran.so.0 -> libgfortran.so.0.0.0
+-rwxr-xr-x root/root usr/lib/libgfortran.so.0.0.0
+-rw-r--r-- root/root usr/lib/libgfortranbegin.a
+-rwxr-xr-x root/root usr/lib/libgfortranbegin.la
+drwxr-xr-x root/root usr/man/
+drwxr-xr-x root/root usr/man/man1/
+-rw-r--r-- root/root usr/man/man1/gfortran.1.gz
+drwxr-xr-x root/root usr/man/man7/
+drwxr-xr-x root/root usr/share/
diff --git a/gcc-fortran/.md5sum b/gcc-fortran/.md5sum
new file mode 100644
index 000000000..a9dbdeb83
--- /dev/null
+++ b/gcc-fortran/.md5sum
@@ -0,0 +1,3 @@
+347231730fb44b609b69226c3e432d80 gcc-core-4.0.3.tar.bz2
+e35acd0ee75799f0a82b6e9c7e330073 gcc-fortran-4.0.3-version.patch
+62db1b0901dccad81f6bc2792dbbbd49 gcc-fortran-4.0.3.tar.bz2
diff --git a/gcc-fortran/Pkgfile b/gcc-fortran/Pkgfile
new file mode 100644
index 000000000..a9a73850d
--- /dev/null
+++ b/gcc-fortran/Pkgfile
@@ -0,0 +1,67 @@
+# URL: http://gcc.gnu.org/fortran
+# Description: Fortran (f95) add-on for GNU GCC compiler.
+# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
+# Packager: acrux, acrux at linuxmail dot org
+# Depends on: libmpfr
+
+name=gcc-fortran
+version=4.0.3
+release=2
+source=(ftp://sources.redhat.com/pub/gcc/releases/gcc-$version/gcc-{core,fortran}-$version.tar.bz2 \
+ $name-$version-version.patch)
+
+build() {
+ patch -d gcc-$version -p1 -i $SRC/$name-$version-version.patch
+ cd gcc-$version
+ mkdir build
+ cd build
+
+ ../configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --enable-languages=f95 \
+ --enable-threads=posix \
+ --enable-__cxa_atexit \
+ --enable-clocale=gnu \
+ --enable-shared \
+ --disable-nls \
+ --with-x=no
+
+ make
+ #make check
+ make DESTDIR=$PKG install
+
+ ln -s gfortran $PKG/usr/bin/f90
+ ln -s gfortran $PKG/usr/bin/f95
+
+ # remove un-needed files
+ find $PKG -name 'README' -exec rm {} \;
+
+ rm \
+ $PKG/usr/lib/libiberty.a \
+ $PKG/usr/bin/*-linux-gnu-*
+
+ rm -r \
+ $PKG/usr/info \
+ $PKG/usr/lib/gcc/*/$version/install-tools
+
+ rm -fr \
+ $PKG/usr/man/man1/{cpp,gcc,gcov}.1.gz \
+ $PKG/usr/man/man7
+
+ # remove files already on the system out of the port
+ for i in $(find $PKG | sed -e "s|$PKG|/|"); do
+ if [ -e "$i" ] && [ ! -d "$i" ] ; then
+ rm $PKG/$i
+ fi
+ done
+
+ # Remove empty directories
+ find $PKG -depth -empty -exec rm -r {} \;
+
+ # remove build links from *.la files
+ for i in `find $PKG -name '*.la' | sed -e "s|$PKG|/|"`; do
+ sed -i "s|-L$SRC[^ ]* ||g" $PKG/$i
+ done
+}
+
diff --git a/gcc-fortran/Pkgfile~ b/gcc-fortran/Pkgfile~
new file mode 100644
index 000000000..2a36ed864
--- /dev/null
+++ b/gcc-fortran/Pkgfile~
@@ -0,0 +1,67 @@
+# URL: http://gcc.gnu.org/fortran
+# Description: Fortran (f95) add-on for GNU GCC compiler.
+# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
+# Packager: acrux, acrux at linuxmail dot org
+# Depends on: libmpfr
+
+name=gcc-fortran
+version=4.0.3
+release=2
+source=(ftp://sources.redhat.com/pub/gcc/releases/gcc-$version/gcc-{core,fortran}-$version.tar.bz2 \
+ gcc-$version-version.patch)
+
+build() {
+ patch -d gcc-$version -p1 -i $SRC/gcc-$version-version.patch
+ cd gcc-$version
+ mkdir build
+ cd build
+
+ ../configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --enable-languages=f95 \
+ --enable-threads=posix \
+ --enable-__cxa_atexit \
+ --enable-clocale=gnu \
+ --enable-shared \
+ --disable-nls \
+ --with-x=no
+
+ make
+ #make check
+ make DESTDIR=$PKG install
+
+ ln -s gfortran $PKG/usr/bin/f90
+ ln -s gfortran $PKG/usr/bin/f95
+
+ # remove un-needed files
+ find $PKG -name 'README' -exec rm {} \;
+
+ rm \
+ $PKG/usr/lib/libiberty.a \
+ $PKG/usr/bin/*-linux-gnu-*
+
+ rm -r \
+ $PKG/usr/info \
+ $PKG/usr/lib/gcc/*/$version/install-tools
+
+ rm -fr \
+ $PKG/usr/man/man1/{cpp,gcc,gcov}.1.gz \
+ $PKG/usr/man/man7
+
+ # remove files already on the system out of the port
+ for i in $(find $PKG | sed -e "s|$PKG|/|"); do
+ if [ -e "$i" ] && [ ! -d "$i" ] ; then
+ rm $PKG/$i
+ fi
+ done
+
+ # Remove empty directories
+ find $PKG -depth -empty -exec rm -r {} \;
+
+ # remove build links from *.la files
+ for i in `find $PKG -name '*.la' | sed -e "s|$PKG|/|"`; do
+ sed -i "s|-L$SRC[^ ]* ||g" $PKG/$i
+ done
+}
+
diff --git a/gcc-fortran/gcc-fortran-4.0.3-version.patch b/gcc-fortran/gcc-fortran-4.0.3-version.patch
new file mode 100644
index 000000000..7db7456bf
--- /dev/null
+++ b/gcc-fortran/gcc-fortran-4.0.3-version.patch
@@ -0,0 +1,12 @@
+diff -Nru gcc-4.0.3-old/gcc/version.c gcc-4.0.3/gcc/version.c
+--- gcc-4.0.3-old/gcc/version.c 2006-03-14 02:13:18.000000000 +0100
++++ gcc-4.0.3/gcc/version.c 2006-03-14 02:14:20.000000000 +0100
+@@ -5,7 +5,7 @@
+ please modify this string to indicate that, e.g. by putting your
+ organization's name in parentheses at the end of the string. */
+
+-const char version_string[] = "4.0.3";
++const char version_string[] = "4.0.3 (CRUX)";
+
+ /* This is the location of the online document giving instructions for
+ reporting bugs. If you distribute a modified version of GCC,

Generated by cgit