summaryrefslogtreecommitdiffstats
path: root/libusbx/build
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2010-11-06 23:21:47 +0000
committer Eric Hameleers <alien@slackware.com>2010-11-06 23:21:47 +0000
commit5c7e85aa5480907feeba0f4c759e89c3c10cc76d (patch)
tree42af082b919e8bed9b9200326b2cadf628b2aecb /libusbx/build
parent808bb90d06d2ac14e735331555727073cc749012 (diff)
downloadasb-5c7e85aa5480907feeba0f4c759e89c3c10cc76d.tar.gz
asb-5c7e85aa5480907feeba0f4c759e89c3c10cc76d.tar.xz
Mass check-in of updated SlackBuilds on Sat Nov 6 23:21:44 UTC 2010
Diffstat (limited to 'libusbx/build')
-rwxr-xr-xlibusbx/build/libusbx.SlackBuild12
1 files changed, 3 insertions, 9 deletions
diff --git a/libusbx/build/libusbx.SlackBuild b/libusbx/build/libusbx.SlackBuild
index 67d0756a..e9bbff6f 100755
--- a/libusbx/build/libusbx.SlackBuild
+++ b/libusbx/build/libusbx.SlackBuild
@@ -21,19 +21,17 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=${VERSION:-1.0.6} # libusb version
+VERSION=${VERSION:-1.0.8} # libusb version
USBCOMPAT=${USBCOMPAT:-0.1.3} # libusb-compat version
BUILD=${BUILD:-1}
NUMJOBS=${NUMJOBS:--j6}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) export ARCH=i486 ;;
arm*) export ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) export ARCH=$( uname -m ) ;;
esac
fi
@@ -138,12 +136,8 @@ if [ -r ChangeLog ]; then
fi
# Now handle the package-wide stuff
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
- xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
# Compress and if needed symlink the man pages:
if [ -d $PKG/usr/man ]; then