PROGNAME="GCC Ada Compiler" DESC="\ gcc-gnat (Ada support for GCC) \n\ \n\ Ada 95 support for the GNU Compiler Collection. \n\ \n\ This package contains those parts of the compiler collection needed to \n\ compile Ada 95 code. Ada95 is the object oriented successor to the \n\ Ada83 language." SUBPKGNAME=gcc-gnat-$VERSION-s390-$BUILD subinstall() { echo "nothing to install for gcc-gnat" } subspecial() { # # copy complete package into subpackage tree # ( cd ../package.save/ tar -cf - usr/ | ( cd $SUBPKG ; tar -xpf - ) ) ( cd $SUBPKG/usr/bin /bin/ls * | grep -E -v "gnat|gpr" | xargs rm ) ( cd $SUBPKG/usr/doc rm -rf gcc-$VERSION/ $DF $DX $DJ $DO ) rm -rf $SUBPKG/usr/include ( cd $SUBPKG/usr/info/ rm cpp.info.gz cppinternals.info.gz fastjar.info.gz g77.info.gz \ gcc.info.gz gccinstall.info.gz gccint.info.gz gcj.info.gz ) ( cd $SUBPKG/usr/lib/gcc/s390-slackware-linux/$VERSION/ rm crt* libgc*.a specs rm -rf include/ install-tools/ ) ( cd $SUBPKG/usr/libexec/gcc/s390-slackware-linux/$VERSION/ rm cc* collect2 f771 jc1 jvgenmain rm -rf install-tools/ ) ( cd $SUBPKG/usr/lib rm lib-org* libffi* libfrtbegin.a libg2c.* libgcc_s.so.1 \ libgcj.* libobjc.* libstdc* libsupc* logging.properties rm -rf pkgconfig/ security/ ) rm -rf $SUBPKG/usr/man/ \ $SUBPKG/usr/share/java/ \ $SUBPKG/usr/share/locale cd $SUBCTL cat $CWD/slack-desc.gcc-gnat > slack-desc }