PROGNAME="GCC Java Compiler" DESC="\ gcc-java (Java support for GCC) \n\ \n\ Java support for the GNU Compiler Collection. \n\ \n\ This package contains those parts of the compiler collection needed to \n\ compile programs written in the Java programming language. The base \n\ gcc package is also required." SUBPKGNAME=gcc-java-$VERSION-s390-$BUILD subinstall() { echo "nothing to install for gcc-java" } subspecial() { # # copy complete package into subpackage tree # ( cd ../package.save/ tar -cf - usr/ | ( cd $SUBPKG ; tar -xpf - ) ) ( cd $SUBPKG/usr/bin/ rm c++ c++filt cpp g++ g77 gcc gccbug gcov s390-slackware-linux* ) ( cd $SUBPKG/usr/doc rm -rf gcc-$VERSION/ $DF $DX $DO mv $DJ/gcc-$VERSION . rmdir $DJ ) ( cd $SUBPKG/usr/include/ rm gc.h gc_* rm -rf c++/ ) ( cd $SUBPKG/usr/info rm cpp.info*.gz cppinternals.info.gz g77.info*.gz \ gcc.info*.gz gccint.info*.gz ) ( cd $SUBPKG/usr/lib/gcc-lib/s390-slackware-linux/$VERSION/ rm c* f771 libgcc.a libgcc_eh.a specs tradcpp0 rm -rf install-tools/ cd include rm * 2>/dev/null rm -rf SDL/ atalk/ linux/ mozilla-*/ ncurses/ net/ \ netatalk/ objc/ openssl root/ slang/ ucd-snmp/ ) ( cd $SUBPKG/usr/lib rm libfrtbegin.a libg2c.* libgcc_s.so.1 libobjc.* libstdc* libsupc* \ ) ( cd $SUBPKG/usr/man/man1/ rm cpp.1.gz g++.1.gz g77.1.gz gcc.1.gz gcov.1.gz ) rm -rf $SUBPKG/usr/man/man7/ \ $SUBPKG/usr/share/locale/ cd $SUBCTL cat $CWD/slack-desc.gcc-java > slack-desc cat << "EOF" > doinst.sh ( cd usr/lib ; rm -rf libgcj.so ) ( cd usr/lib ; ln -sf libgcj.so.3.0.0 libgcj.so ) ( cd usr/lib ; rm -rf libgcj.so.3 ) ( cd usr/lib ; ln -sf libgcj.so.3.0.0 libgcj.so.3 ) EOF }