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 -v gnat | 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 gccint.info.gz gcj.info.gz ) ( cd $SUBPKG/usr/lib/gcc-lib/s390-slackware-linux/$VERSION/ rm cc1 cc1obj cc1plus collect2 crt* f771 jc1 jvgenmain libgcc.a libgcc_eh.a specs rm -rf include/ install-tools/ ) ( cd $SUBPKG/usr/lib rm lib-org* libffi* libfrtbegin.a libg2c.* libgcc_s.so.1 libgcj.* libobjc.* libstdc* libsupc* rm -rf security/ ) rm -rf $SUBPKG/usr/man/ \ $SUBPKG/usr/share/ cd $SUBCTL cat $CWD/slack-desc.gcc-gnat > slack-desc cat > doinst.sh << EOF ( cd usr/lib/gcc-lib/s390-slackware-linux/3.3/adalib ; rm -rf libgnarl.so ) ( cd usr/lib/gcc-lib/s390-slackware-linux/3.3/adalib ; ln -sf libgnarl-*.so libgnarl.so ) ( cd usr/lib/gcc-lib/s390-slackware-linux/3.3/adalib ; rm -rf libgnat.so ) ( cd usr/lib/gcc-lib/s390-slackware-linux/3.3/adalib ; ln -sf libgnat-*.so libgnat.so ) EOF }