diff options
author | tnut <thierryn1 at hispeed dot ch> | 2011-02-22 22:23:29 +0100 |
---|---|---|
committer | tnut <thierryn1 at hispeed dot ch> | 2011-02-22 22:23:29 +0100 |
commit | ac29494ccb161459c9b7ae992658d08f1b5ddf9d (patch) | |
tree | 7a4b846d41552550d3976ce515db5800d3fe067d /base/gcc-fortran/Pkgfile | |
parent | 9169cae1acfa165aadc1a70b683879b78bdc7b4e (diff) | |
download | nutyx-pakxe-ac29494ccb161459c9b7ae992658d08f1b5ddf9d.tar.gz nutyx-pakxe-ac29494ccb161459c9b7ae992658d08f1b5ddf9d.tar.bz2 nutyx-pakxe-ac29494ccb161459c9b7ae992658d08f1b5ddf9d.tar.xz nutyx-pakxe-ac29494ccb161459c9b7ae992658d08f1b5ddf9d.zip |
suppression de gmime
Diffstat (limited to 'base/gcc-fortran/Pkgfile')
-rw-r--r-- | base/gcc-fortran/Pkgfile | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/base/gcc-fortran/Pkgfile b/base/gcc-fortran/Pkgfile deleted file mode 100644 index f66f012f8..000000000 --- a/base/gcc-fortran/Pkgfile +++ /dev/null @@ -1,80 +0,0 @@ -# Description: Le compilateur Fortran GNU -# URL: http://gcc.gnu.org -# Maintainer: NuTyX core team -# Packager: thierryn1 at hispeed dot ch -# Depends on: - -name=gcc-fortran -version=4.5.0 -release=1 -source=(http://ftp.gnu.org/gnu/gcc/gcc-$version/gcc-$version.tar.bz2) - -build() { - cd gcc-$version - # Don't install libiberty - sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in - # Don't run fixincludes - sed -i -e 's@\./fixinc\.sh@-c true@' gcc/Makefile.in - mkdir ../gcc-build - cd ../gcc-build - ../gcc-$version/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 bootstrap - #make check - make DESTDIR=$PKG install - - ln -fs gfortran $PKG/usr/bin/f90 - ln -fs gfortran $PKG/usr/bin/f95 - - # remove un-needed files - find $PKG -name 'README' -delete - - rm \ - $PKG/usr/bin/*-linux-gnu-* - - rm -r \ - $PKG/usr/share \ - $PKG/usr/lib/gcc/*/$version/install-tools \ - $PKG/usr/lib/gcc/*/$version/include - - # remove files already on the system out of the port - for i in $(pkginfo -l gcc |sed -e "s|^|/|"); do - if [ -e "$i" ] && [ ! -d "$i" ]; then - if [ -e "$PKG$i" ]; then - rm "$PKG$i" - fi - fi - done - - # Remove empty directories - find $PKG -depth -empty -exec rm -r {} \; - - # remove build paths from *.la files - for i in `find $PKG -name '*.la' | sed -e "s|$PKG|/|"`; do - sed -i "s|-L$SRC[^ ]* ||g" $PKG/$i - done -# for i in $PKG/usr/lib/libssp* -# do rm $i -# done -# for i in $PKG/usr/lib/libmudflap* - # do rm $i - # done - # for i in $PKG/usr/lib/libgomp* - # do rm $i - # done -# rm $PKG/usr/lib/libgcc_s.so -# rm $PKG/usr/lib/libgcc_s.so.1 -# for i in cc1 collect2 crtbegin.o crtbeginS.o \ -# crtbeginT.o crtend.o crtendS.o crtfastmath.o libgcc.a libgcc_eh.a libgcov.a -# do rm $PKG/usr/lib/gcc/i686-pc-linux-gnu/$version/$i -# done -} |