diff options
author | Richard Ellis <rellis@dp100.com> | 2011-11-16 18:21:26 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2011-11-26 09:08:10 -0600 |
commit | ec5d0e20ec70011756770e4f282d3ff4b668dd12 (patch) | |
tree | 52972e957fb00c1cdc5d9a1e2803874aa40f8151 /network/uudeview | |
parent | 2698064c6a7725b8caff049b3b48f49c4f09bfab (diff) |
network/uudeview: Added (The Nice and Friendly Decoder)
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'network/uudeview')
-rw-r--r-- | network/uudeview/README | 8 | ||||
-rw-r--r-- | network/uudeview/slack-desc | 19 | ||||
-rw-r--r-- | network/uudeview/uudeview.SlackBuild | 86 | ||||
-rw-r--r-- | network/uudeview/uudeview.info | 10 |
4 files changed, 123 insertions, 0 deletions
diff --git a/network/uudeview/README b/network/uudeview/README new file mode 100644 index 0000000000000..788e19beab3e4 --- /dev/null +++ b/network/uudeview/README @@ -0,0 +1,8 @@ +UUDeview is a program that helps you transmit and receive binary files over +the Internet, using electronic mail or newsgroups The UUDeview package +includes both an encoder and a decoder. The decoder automatically detects +the type of encoding used, offering MIME's Base64 and BinHex as well as the +popular uuencoding and the less frequently used xxencoding methods. +Recently, support for the popular yEnc encoding was also added. The encoder +runs the other way around and encodes a binary file for sending it by mail +or news. diff --git a/network/uudeview/slack-desc b/network/uudeview/slack-desc new file mode 100644 index 0000000000000..27b565b56ba3a --- /dev/null +++ b/network/uudeview/slack-desc @@ -0,0 +1,19 @@ +# HOW TO EDIT THIS FILE: +# The "handy ruler" below makes it easier to edit a package description. Line +# up the first '|' above the ':' following the base package name, and the '|' on +# the right side marks the last column you can put a character in. You must make +# exactly 11 lines for the formatting to be correct. It's also customary to +# leave one space after the ':'. + + |-----handy-ruler-------------------------------------------------------| +uudeview: uudeview (The Nice and Friendly Decoder) +uudeview: +uudeview: UUDeview is a program that helps you transmit and receive binary files +uudeview: over the Internet, using electronic mail or newsgroups The UUDeview +uudeview: package includes both an encoder and a decoder. The decoder +uudeview: automatically detects the type of encoding used, offering MIME's Base64 +uudeview: and BinHex as well as the popular uuencoding and the less frequently +uudeview: used xxencoding methods. Recently, support for the popular yEnc +uudeview: encoding was also added. The encoder runs the other way around and +uudeview: encodes a binary file for sending it by mail or news. +uudeview: diff --git a/network/uudeview/uudeview.SlackBuild b/network/uudeview/uudeview.SlackBuild new file mode 100644 index 0000000000000..a185dab46ebca --- /dev/null +++ b/network/uudeview/uudeview.SlackBuild @@ -0,0 +1,86 @@ +#!/bin/sh + +# Slackware build script for uudeview + +# Written by Richard Ellis (rellis@dp100.com) + +# Released into the public domain +# V1 - Slackware 13.37 - November 13, 2011 + +PRGNAM=uudeview +VERSION=${VERSION:-0.5.20} +BUILD=${BUILD:-1} +TAG=${TAG:-_SBo} + +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + +if [ "$ARCH" = "i486" ]; then + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "i686" ]; then + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" +elif [ "$ARCH" = "x86_64" ]; then + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" +else + SLKCFLAGS="-O2" + LIBDIRSUFFIX="" +fi + +set -e + +rm -rf $PKG +mkdir -p $TMP $PKG $OUTPUT +cd $TMP +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION +chown -R root:root . +find . \ + \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ + -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ + -exec chmod 644 {} \; + +# NOTE - uudeview does not honor the DESTDIR variable, which is why the $PKG +# location is prefixed below when running configure + +CFLAGS="$SLKCFLAGS" \ +CXXFLAGS="$SLKCFLAGS" \ +./configure \ + --prefix=$PKG/usr \ + --mandir=$PKG/usr/man \ + --build=$ARCH-slackware-linux + +make +make install + +find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ + | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true + +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + +mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + HISTORY IAFA-PACKAGE README \ + $PKG/usr/doc/$PRGNAM-$VERSION +cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild + +mkdir -p $PKG/install +cat $CWD/slack-desc > $PKG/install/slack-desc + +cd $PKG +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/network/uudeview/uudeview.info b/network/uudeview/uudeview.info new file mode 100644 index 0000000000000..8a6741ceaf3ec --- /dev/null +++ b/network/uudeview/uudeview.info @@ -0,0 +1,10 @@ +PRGNAM="uudeview" +VERSION="0.5.20" +HOMEPAGE="http://www.fpx.de/fp/Software/UUDeview/" +DOWNLOAD="http://www.fpx.de/fp/Software/UUDeview/download/uudeview-0.5.20.tar.gz" +MD5SUM="0161abaec3658095044601eae82bbc5b" +DOWNLOAD_x86_64="" +MD5SUM_x86_64="" +MAINTAINER="Richard Ellis" +EMAIL="rellis@dp100.com" +APPROVED="Erik Hanson" |