diff --git a/network/copy/copy.SlackBuild b/network/copy/copy.SlackBuild index 9246f8f5cb..03c0e2e08a 100644 --- a/network/copy/copy.SlackBuild +++ b/network/copy/copy.SlackBuild @@ -1,4 +1,5 @@ #!/bin/sh + # Slackware build script for Copy # Ryan P.C. McQuen | Everett, WA | ryan.q@linux.com @@ -19,27 +20,32 @@ # You may have received a copy of the GNU General Public License along # with this program (most likely, a file named COPYING). If not, see -# . +# . PRGNAM=copy -SRCNAM=copy_agent +SRCNAM=Copy DSKNAM=CopyAgent -VERSION=${VERSION:-3.2.01.0481} -BUILD=${BUILD:-2} +VERSION=${VERSION:-3.2.02.0496} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -if [ -z "$ARCH" ] || [ -z "$SRCARCH" ]; then +if [ -z "$ARCH" ]; then + case "$( uname -m )" in + i?86) ARCH=i486 ;; + arm*) ARCH=arm ;; + *) ARCH=$( uname -m ) ;; + esac +fi + +if [ -z "$SRCARCH" ]; then case "$( uname -m )" in i?86) - ARCH=i486; SRCARCH=x86; ;; arm*) - ARCH=arm; SRCARCH=armv6h; ;; *) - ARCH=$( uname -m ); SRCARCH=$( uname -m ); ;; esac @@ -53,10 +59,17 @@ OUTPUT=${OUTPUT:-/tmp} TARBALL=$SRCNAM-$VERSION.tgz TARBALL_ROOT=$PRGNAM -# Set LIBDIRSUFFIX and TARBALL. -if [ "$ARCH" = "x86_64" ]; then +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 diff --git a/network/copy/copy.info b/network/copy/copy.info index de37c27594..7aece41ce8 100644 --- a/network/copy/copy.info +++ b/network/copy/copy.info @@ -1,8 +1,8 @@ PRGNAM="copy" -VERSION="3.2.01.0481" +VERSION="3.2.02.0496" HOMEPAGE="https://www.copy.com" -DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/copy/copy_agent-3.2.01.0481.tgz" -MD5SUM="b8113bc03c452529711eaffe31648b18" +DOWNLOAD="http://sourceforge.net/projects/slackbuildsdirectlinks/files/copy/Copy-3.2.02.0496.tgz" +MD5SUM="b1a1c18047ea124b52bcab03e47fd24c" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES=""