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-s390x-$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/local/bin /bin/ls * | grep -v gnat | xargs rm ) rm -rf $SUBPKG/usr/local/include \ $SUBPKG/usr/local/lib/gcc-lib/s390x-slackware-linux/3.3.4/32/libgcc.a ( cd $SUBPKG/usr/local/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/local/lib/gcc-lib/s390x-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/local/lib rm lib-org* libffi* libfrtbegin.a libg2c.* libgcc_s.so.1 libgcj.* libobjc.* libstdc* libsupc* rm -rf security/ ) rm -rf $SUBPKG/usr/local/man \ $SUBPKG/usr/local/share \ $SUBPKG/usr/local/s390x-slackware-linux/lib \ $SUBPKG/usr/local/s390x-slackware-linux find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . -name "*.a" | xargs strip -g cd $SUBCTL cat $CWD/slack-desc.gcc-gnat > slack-desc }