IGNOREPATH=/etc:/home:/var:/dev:/boot:/root:/tmp:/usr/local:/bin:/sbin:/mnt:/usr/src STRIPLIB=y STRIPBIN=y VERSION=0.5.17 PROGNAME="orbit $VERSION" DESC="\ orbit \n\ \n\ ORBit is a high-performance CORBA (Common Object Request Broker \n\ Architecture) ORB (object request broker). It allows programs to send \n\ requests and receive replies from other programs, regardless of the \n\ locations of the two programs. CORBA is an architecture that enables \n\ communication between program objects, regardless of the programming \n\ language they're written in or the operating system they run on. \n\ \n\ ORBit is required by GNOME, and is needed to build Mozilla." BUILD=1 MAINTAINER="Mark Post " SOURCE=ftp://ftp.gnome.org/pub/GNOME/stable/sources/ PKGNAME=orbit-$VERSION-s390-$BUILD TAG=OPT compile() { tar -yxvf $CWD/ORBit-$VERSION.tar.bz2 cd ORBit-$VERSION/ chown -R root.root . find . -perm 664 -exec chmod 644 {} \; CFLAGS=-O2 \ ./configure --prefix=/usr \ --build=s390-slackware-linux \ --host=s390-slackware-linux \ --target=s390-slackware-linux make } install() { make install DESTDIR=/package-orbit mkdir -p /package-orbit/usr/doc/ORBit-$VERSION/libIDL cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README TODO \ /package-orbit/usr/doc/ORBit-$VERSION ( cd libIDL cp -a AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README \ /package-orbit/usr/doc/ORBit-$VERSION/libIDL ) ( cd /package-orbit/usr/info rm -f *.gz gzip -9 * ) } attributes() { chown -R root.bin $PKG/package-orbit/usr/bin/ } special() { cd $PKG mv package-orbit/* ./ rmdir package-orbit cd $CTL cat $CWD/slack-desc > slack-desc sed -e 's%package-orbit/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new }