IGNOREPATH=/etc:/home:/var:/lib:/dev:/boot:/root:/sbin:/tmp:/usr/local:/mnt
STRIPLIB=y
STRIPBIN=n

VERSION=5.1.0
PROGNAME="C++ Libraries"
DESC="\
cxxlibs (C++ shared library compatibility package)                   \n\
                                                                     \n\
This package contains the shared libraries needed to run dynamically \n\
linked C++ binaries linked with older versions of libstdc++."

BUILD=1
MAINTAINER="Mark Post <mark.post@eds.com>"
SOURCE=N/A
PKGNAME=cxxlibs-$VERSION-s390-$BUILD
TAG=ADD

compile() {
   echo "Nothing to compile for cxxlibs"
}

install() {
   mkdir /package-cxxlibs
   cd /package-cxxlibs
   tar -clpSf - `find /usr -name libstdc++*so*` | tar -xpSf -
}

special() {
   cd $PKG
   mv package-cxxlibs/* .
   rmdir package-cxxlibs/

   cd $CTL
   cat $CWD/slack-desc > slack-desc
   sed -e 's%package-cxxlibs/%%g' doinst.sh > doinst.sh.new
   cat doinst.sh.new > doinst.sh
   rm doinst.sh.new
}

