summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
authorRyan P.C. McQuen <ryan.q@linux.com>2016-02-01 09:02:50 -0800
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-05 07:02:33 +0700
commit9eb0e0335dbee185ba878cf98a6ac3fd143c29ab (patch)
tree6e26311c2d57d333e003e0353e271bb2d2b9f643 /network
parenta6870d952669a96e5a72d091a4152192680fcce8 (diff)
downloadslackbuilds-9eb0e0335dbee185ba878cf98a6ac3fd143c29ab.tar.gz
network/copy: Updated for version 3.2.02.0496.
Signed-off-by: Ryan P.C. McQuen <ryan.q@linux.com>
Diffstat (limited to 'network')
-rw-r--r--network/copy/copy.SlackBuild33
-rw-r--r--network/copy/copy.info6
2 files changed, 26 insertions, 13 deletions
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
-# <http://www.gnu.org/licenses/>.
+# <https://www.gnu.org/licenses/>.
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=""