# # Prototype for the glibc-i18n package # # Package specific information for glibc-i18n PROGNAME="GNU C Library, internationalization support" DESC="\ glibc-i18n (locale files from glibc) \n\ \n\ These files go in /usr/lib/locale and /usr/share/i18n/ to provide \n\ internationalization support. You'll need this package unless you \n\ will be using US English only." # package name SUBPKGNAME=glibc-i18n-$VERSION-s390-$BUILD TAG=ADD subinstall() { cd $TMP/glibc-$VERSION/build-glibc-$VERSION make install install_root=/package-glibc make localedata/install-locales install_root=/package-glibc ( cd /package-glibc/ rm -rf etc/ lib/ sbin/ usr/bin/ usr/include/ usr/info/ usr/lib/gconv/ \ usr/libexec/ usr/sbin/ usr/share/locale/ usr/share/zoneinfo rm usr/share/i18n/locales/zh_TW.orig 2>/dev/null rm usr/lib/* 2>/dev/null ) } subspecial() { cd $SUBPKG mv package-glibc/* ./ rmdir package-glibc/ cd $SUBCTL cat $CWD/slack-desc.glibc-i18n > slack-desc sed -e 's%package-glibc/%%g' doinst.sh > doinst.sh.new cat doinst.sh.new > doinst.sh rm doinst.sh.new rm -rf /package-glibc }