echo "---------- BUILDING SHAR UTILS -------------" cd $TMP tar xzvf $ORIGPATH/source/sharutils-4.2.1.tar.gz cd sharutils-* # For now, NLS seems to cause build errors on this one... CFLAGS="${ARMCFLAGS}" LDFLAGS=-s $ARMCONFIGURE --disable-nls --prefix=/usr make cd src mv shar /usr/bin/shar mv unshar /usr/bin/unshar mv uuencode /usr/bin/uuencode mv uudecode /usr/bin/uudecode ( cd ../doc ; install -m644 sharutils.info /usr/info/ ) # Include old manpages, since the source package doesn't have them anymore: for page in shar.1.gz unshar.1.gz uuencode.1.gz ; do install -m644 $ORIGPATH/source/$page /usr/man/man1/ done echo '.so man1/uuencode.1' | gzip -9c > /usr/man/man1/uudecode.1.gz install -m644 uuencode.5.gz /usr/man/man5/ mkdir /usr/doc/sharutils-4.2.1 install -m644 ABOUT-NLS AUTHORS BACKLOG COPYING INSTALL NEWS README \ README.OLD THANKS TODO /usr/doc/sharutils-4.2.1 #EOF