summaryrefslogtreecommitdiff
path: root/libraries/libftdi
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2017-01-15 23:44:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-01-15 23:44:42 +0700
commitd1f1ce7e50891f71c6575c32332a1b12d9b440df (patch)
tree869c8a97922617fb70d55c5adb93d74b777d5733 /libraries/libftdi
parentcd4930209527c096cccde9fb5c2c6d4e3a32e94c (diff)
downloadslackbuilds-d1f1ce7e50891f71c6575c32332a1b12d9b440df.tar.gz
libraries/libftdi: Switch to i586.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libftdi')
-rw-r--r--libraries/libftdi/README9
-rw-r--r--libraries/libftdi/libftdi.SlackBuild8
-rw-r--r--libraries/libftdi/slack-desc2
3 files changed, 9 insertions, 10 deletions
diff --git a/libraries/libftdi/README b/libraries/libftdi/README
index 3c211a4f0a..546622ff3a 100644
--- a/libraries/libftdi/README
+++ b/libraries/libftdi/README
@@ -1,9 +1,8 @@
-FTDI USB driver with bitbang mode
+FTDI USB driver with bitbang mode.
-libFTDI is an open source library to talk to FTDI chips,
-including the popular bitbang mode. The library is linked
-with your program in userspace, no kernel driver required.
-Supported chips are:
+libFTDI is an open source library to talk to FTDI chips, including
+the popular bitbang mode. The library is linked with your program in
+userspace, no kernel driver required. Supported chips are:
* FT232BM,
* FT245BM,
diff --git a/libraries/libftdi/libftdi.SlackBuild b/libraries/libftdi/libftdi.SlackBuild
index 823dac4659..b230df31a9 100644
--- a/libraries/libftdi/libftdi.SlackBuild
+++ b/libraries/libftdi/libftdi.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for libftdi
-# Copyright 2015 Andrzej Telszewski, Sabadell
+# Copyright 2017 Andrzej Telszewski, Banie
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -29,7 +29,7 @@ TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -40,8 +40,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
diff --git a/libraries/libftdi/slack-desc b/libraries/libftdi/slack-desc
index 4471106ac5..7c07840eb9 100644
--- a/libraries/libftdi/slack-desc
+++ b/libraries/libftdi/slack-desc
@@ -13,7 +13,7 @@ libftdi: FT232BM, FT245BM, FT2232C, FT2232D, FT245R, FT232H and FT230X
libftdi: including the popular bitbang mode. The library is linked with
libftdi: your program in userspace, no kernel driver required.
libftdi:
+libftdi: Homepage: http://www.intra2net.com/en/developer/libftdi/
libftdi:
libftdi:
-libftdi: Homepage: http://www.intra2net.com/en/developer/libftdi/
libftdi: