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-lib/s390-slackware-linux/$VERSION/ rm cc1 cc1plus collect2 cpp0 crt* f771 jc1 jvgenmain libgcc.a libgcc_eh.a specs tradcpp0 rm -rf adainclude/ adalib/ install-tools/ cd include rm * 2>/dev/null rm -rf SDL/ atalk/ gcj/ linux/ mozilla-*/ ncurses/ net/ \ netatalk/ openssl/ slang/ root/ ucd-snmp/ ) ( cd $SUBPKG/usr/lib rm 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 }