# # Prototype file for the gettest package # # Package specific information for gettext PROGNAME="GNU gettext $VERSION" DESC="\ The GNU gettext package contains "gettext" and "ngettext", programs \n\ that are used to internationalize the messages given by shell scripts." # package name SUBPKGNAME=gettext-$VERSION-s390-$BUILD TAG=ADD subinstall() { echo "Nothing to install for the gettext subinstall" } subspecial() { echo Now entering the subspecial routine if [ -z $PKG ]; then PKG=$TMP/pkg-$PKGNAME echo PKG=$PKG fi mkdir -p $SUBPKG/usr/bin cp -p $PKG/usr/bin/gettext $PKG/usr/bin/ngettext $SUBPKG/usr/bin/ chown -R root.bin $SUBPKG/usr/bin chmod 755 $SUBPKG/usr/bin/* mkdir -p $SUBPKG/usr/share/gettext cp -p $TMP/gettext-$VERSION/ABOUT-NLS $SUBPKG/usr/share/gettext/ mkdir -p $SUBPKG/usr/man/man1 cp -p $TMP/gettext-$VERSION/man/gettext.1 $SUBPKG/usr/man/man1/ cp -p $TMP/gettext-$VERSION/man/ngettext.1 $SUBPKG/usr/man/man1/ gzip -9 $SUBPKG/usr/man/man1/*.1 mkdir -p $SUBPKG/usr/doc/gettext-$VERSION cp -p $TMP/gettext-$VERSION/man/gettext.1.html $SUBPKG/usr/doc/gettext-$VERSION/ cp -p $TMP/gettext-$VERSION/man/ngettext.1.html $SUBPKG/usr/doc/gettext-$VERSION/ cd $SUBCTL cat $CWD/slack-desc.gettext > slack-desc }