PROGNAME="GCC Fortran 77 Compiler" DESC="\ gcc-g77 (Fortran support for GCC) \n\ \n\ This package contains those parts of the compiler collection needed to \n\ compile Fortran code. The base gcc package is also required. GNU \n\ Fortran supports a variety of extensions to, and dialects of, the \n\ Fortran language. Its primary base is the ANSI FORTRAN 77 standard, \n\ with some some extensions popularized by the 'f77' and 'f2c' compilers,\n\ other compilers (such as Digital products), and the Fortran 90 \n\ standard." SUBPKGNAME=gcc-g77-$VERSION-s390-$BUILD subinstall() { echo "nothing to install for gcc-g77" } subspecial() { # # copy complete package into subpackage tree # ( cd ../package.save/ tar -cf - usr/ | ( cd $SUBPKG ; tar -xpf - ) ) ( cd $SUBPKG/usr/bin/ rm addr2name.awk c++ c++filt cpp g++ gcc gccbug gcj gcjh gcov gij grepjar \ jar jcf-dump jv-convert jv-scan rmic rmiregistry \ s390-slackware-linux-c++ s390-slackware-linux-g++ \ s390-slackware-linux-gcc mv g77 g77-gcc-$VERSION ) ( cd $SUBPKG/usr/doc rm -rf gcc-$VERSION $DX $DJ $DO mv $DF/gcc-$VERSION . rmdir $DF ) rm -rf $SUBPKG/usr/include/ ( cd $SUBPKG/usr/info/ rm cpp.info*.gz cppinternals.info.gz fastjar.info.gz gcc.info*.gz \ gccint.info*.gz gcj.info*.gz ) ( cd $SUBPKG/usr/lib/gcc-lib/s390-slackware-linux/$VERSION/ rm c* jc1 jvgenmain libgcc.a libgcc_eh.a specs rm -rf adainclude/ adalib/ install-tools/ cd include mv g2c.h .. rm -rf * mv ../g2c.h ./ ) ( cd $SUBPKG/usr/lib rm libgcc_s.so.1 libgcj.* libobjc.* libstdc* libsupc* \ gcc-lib/s390-slackware-linux/3.2.3/tradcpp0 rm -rf security/ ) ( cd $SUBPKG/usr/man/man1/ rm cpp.1.gz g++.1.gz gcc.1.gz gcj.1.gz gcjh.1.gz gcov.1.gz \ gij.1.gz jcf-dump.1.gz jv-convert.1.gz \ jv-scan.1.gz rmic.1.gz rmiregistry.1.gz ) rm -rf $SUBPKG/usr/man/man7/ \ $SUBPKG/usr/share/ cd $SUBCTL cat $CWD/slack-desc.gcc-g77 > slack-desc cat << "EOF" > doinst.sh ( cd usr/bin ; rm -rf f77 ) ( cd usr/bin ; ln -sf g77 f77 ) ( cd usr/bin ; rm -rf g77 ) ( cd usr/bin ; ln -sf g77-gcc-3.2.3 g77 ) ( cd usr/lib ; rm -rf libg2c.so.0 ) ( cd usr/lib ; ln -sf libg2c.so.0.0.0 libg2c.so.0 ) ( cd usr/lib ; rm -rf libg2c.so ) ( cd usr/lib ; ln -sf libg2c.so.0.0.0 libg2c.so ) ( cd usr/man/man1 ; rm -rf f77.1.gz ) ( cd usr/man/man1 ; ln -sf g77.1.gz f77.1.gz ) EOF }