PROGNAME="GCC Objective C Compiler" DESC="\ gcc-objc (Objective-C support for GCC) \n\ \n\ Objective-C support for the GNU Compiler Collection. \n\ \n\ This package contains those parts of the compiler collection needed to \n\ compile code written in Objective-C. Objective-C was originally \n\ developed to add object-oriented extensions to the C language, and is \n\ best known as the native language of the NeXT computer." SUBPKGNAME=gcc-objc-$VERSION-s390-$BUILD subinstall() { echo "nothing to install for gcc-objc" } subspecial() { # # copy complete package into subpackage tree # ( cd ../package.save/ tar -cf - usr/ | ( cd $SUBPKG ; tar -xpf - ) ) rm -rf $SUBPKG/usr/bin ( cd $SUBPKG/usr/doc rm -rf gcc-$VERSION/ $DF $DX $DJ mv $DO/gcc-$VERSION . rmdir $DO ) rm -rf $SUBPKG/usr/include/ \ $SUBPKG/usr/info/ ( cd $SUBPKG/usr/lib/gcc/s390-slackware-linux/$VERSION/ rm cc1 cc1plus collect2 crt* f771 gnat1 jc1 jvgenmain libgc*.a specs rm -rf adainclude/ adalib/ install-tools/ cd include rm * 2>/dev/null rm -rf gcj/ libffi/ linux/ mozilla-*/ ncurses/ net/ netatalk/ root/ rpc/ ) ( cd $SUBPKG/usr/libexec/gcc/s390-slackware-linux/$VERSION/ rm cc1 cc1plus collect2 crt* f771 gnat1 jc1 jvgenmain libgcc.a libgcc_eh.a specs rm -rf install-tools/ ) ( cd $SUBPKG/usr/lib rm lib-org* libffi* libfrtbegin.a libg2c.* libgcc_s.so.1 libgcj.* libstdc* libsupc* logging.properties rm -rf pkgconfig/ security/ ) rm -rf $SUBPKG/usr/man/ \ $SUBPKG/usr/share/ cd $SUBCTL cat $CWD/slack-desc.gcc-objc > slack-desc cat > doinst.sh << EOF ( cd usr/lib ; rm -rf libobjc.so ) ( cd usr/lib ; ln -sf libobjc.so.1.0.0 libobjc.so ) ( cd usr/lib ; rm -rf libobjc.so.1 ) ( cd usr/lib ; ln -sf libobjc.so.1.0.0 libobjc.so.1 ) EOF }