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-gcc/ # cd ../package.save/ tar -cf - usr/ | ( cd $SUBPKG ; tar -xpf - ) find $SUBPKG -type l | xargs rm ) rm -rf $SUBPKG/usr/bin ( cd $SUBPKG/usr/doc rm -rf gcc-$VERSION/ mv ${DO}/gcc-$VERSION/ ./ rm -rf ${DF} ${DJ} ${DO} ${DX} ) rm -rf $SUBPKG/usr/include/ \ $SUBPKG/usr/info/ ( cd $SUBPKG/usr/lib/gcc-lib/s390-slackware-linux/$VERSION/ rm cc1 cc1plus collect2 crt* f771 jc1 jvgenmain libgcc.a libgcc_eh.a specs rm -rf install-tools/ cd include rm * 2>/dev/null rm -rf gcj/ mozilla-1.3/ ncurses/ net/ netatalk/ root/ ) ( cd $SUBPKG/usr/lib rm lib-org* libffi* libfrtbegin.a libg2c.* libgcc_s.so.1 libgcj.* libstdc* libsupc* rm -rf 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 }