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++ cpp g++ g77 gcc gccbug gcov gnat* 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 ffi* rm -rf c++/ ) ( cd $SUBPKG/usr/info/ rm cpp.info.gz cppinternals.info.gz fastjar.info.gz g77.info.gz \ gcc.info.gz gccint.info.gz gnat* ) ( cd $SUBPKG/usr/lib/gcc-lib/s390-slackware-linux/$VERSION/ rm c* f771 gnat1 libgcc.a libgcc_eh.a specs rm -rf adainclude/ adalib/ install-tools/ cd include rm * 2>/dev/null rm -rf linux/ mozilla-*/ ncurses/ net/ netatalk/ objc/ root/ ) ( cd $SUBPKG/usr/lib rm libffi* 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 grepjar.1.gz jar.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/bin ; rm -rf s390-slackware-linux-gcj ) ( cd usr/bin ; ln -sf gcj s390-slackware-linux-gcj ) ( cd usr/lib ; rm -rf libgcj.so ) ( cd usr/lib ; ln -sf libgcj.so.4.0.0 libgcj.so ) ( cd usr/lib ; rm -rf lib-org-w3c-dom.so ) ( cd usr/lib ; ln -sf lib-org-w3c-dom.so.0.0.0 lib-org-w3c-dom.so ) ( cd usr/lib ; rm -rf lib-org-xml-sax.so ) ( cd usr/lib ; ln -sf lib-org-xml-sax.so.0.0.0 lib-org-xml-sax.so ) ( cd usr/lib ; rm -rf libgcj.so.4 ) ( cd usr/lib ; ln -sf libgcj.so.4.0.0 libgcj.so.4 ) ( cd usr/lib ; rm -rf lib-org-xml-sax.so.0 ) ( cd usr/lib ; ln -sf lib-org-xml-sax.so.0.0.0 lib-org-xml-sax.so.0 ) ( cd usr/lib ; rm -rf lib-org-w3c-dom.so.0 ) ( cd usr/lib ; ln -sf lib-org-w3c-dom.so.0.0.0 lib-org-w3c-dom.so.0 ) EOF }