aboutsummaryrefslogtreecommitdiff
path: root/multimedia/mtpfs
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2010-12-28 20:52:24 -0600
committerRobby Workman <rworkman@slackbuilds.org>2010-12-29 01:08:49 -0600
commit7bf79d36a03e3638b8995427c5093edfdf65eb67 (patch)
tree13c72eacb90a7d7c99d3b3e59ea7b94eb9cb88a9 /multimedia/mtpfs
parenta6aad169317dcb64b94d6d12a04a7949fb6c9143 (diff)
multimedia/mtpfs: Fixed download link and misc tweaks
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'multimedia/mtpfs')
-rw-r--r--multimedia/mtpfs/README6
-rw-r--r--multimedia/mtpfs/mtpfs.SlackBuild15
-rw-r--r--multimedia/mtpfs/mtpfs.info6
3 files changed, 13 insertions, 14 deletions
diff --git a/multimedia/mtpfs/README b/multimedia/mtpfs/README
index d27106522f5fe..5cc44cc33b09b 100644
--- a/multimedia/mtpfs/README
+++ b/multimedia/mtpfs/README
@@ -5,11 +5,9 @@ MTP device, as supported by libmtp. MTPfs includes extra features such
as playlist and meta information support for MP3 players.
Quickstart:
-
- Ensure your user is in the "audio" group
- Create a directory to use as a mount point (e.g. "mkdir ~/mtp")
- Set media device to MTP mode, if necessary
- Plug media device into USB port
-- Run mtpfs with the mount point dir as an argument (e.g. "mtpfs ~/mtp")
-- See /usr/doc/mtpfs-0.9/README, and the output of "mtpfs --help",
- for more information
+- Run mtpfs with the mount point as an argument (e.g. "mtpfs ~/mtp")
+- See /usr/doc/mtpfs-*/README and "mtpfs --help" output for more information
diff --git a/multimedia/mtpfs/mtpfs.SlackBuild b/multimedia/mtpfs/mtpfs.SlackBuild
index e0175769119dc..4ce47c6b5a836 100644
--- a/multimedia/mtpfs/mtpfs.SlackBuild
+++ b/multimedia/mtpfs/mtpfs.SlackBuild
@@ -9,12 +9,10 @@ VERSION=${VERSION:-0.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -30,6 +28,8 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
elif [ "$ARCH" = "x86_64" ]; then
SLKCFLAGS="-O2 -fPIC"
+else
+ SLKCFLAGS="-O2"
fi
set -e
@@ -37,9 +37,9 @@ 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
+rm -rf $PRGNAM-$VERSION.orig
+tar xvf $CWD/${PRGNAM}_$VERSION.orig.tar.gz
+cd $PRGNAM-$VERSION.orig
chown -R root:root .
chmod -R a-s,u+w,go+r-w .
@@ -49,13 +49,14 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --mandir=/usr/man
+ --mandir=/usr/man \
+ --build=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING ChangeLog NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/multimedia/mtpfs/mtpfs.info b/multimedia/mtpfs/mtpfs.info
index 875c04982f45b..58804124141db 100644
--- a/multimedia/mtpfs/mtpfs.info
+++ b/multimedia/mtpfs/mtpfs.info
@@ -1,10 +1,10 @@
PRGNAM="mtpfs"
VERSION="0.9"
HOMEPAGE="http://www.adebenham.com/mtpfs/"
-DOWNLOAD="http://www.adebenham.com/mtpfs/mtpfs-0.9.tar.gz"
-MD5SUM="70adfdbef3b228f7f6db4c01a08cf29a"
+DOWNLOAD="http://www.adebenham.com/debian/mtpfs_0.9.orig.tar.gz"
+MD5SUM="6736f24c3d4a3d3b4e9e545398557de9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="B. Watson"
EMAIL="yalhcru@gmail.com"
-APPROVED="dsomero"
+APPROVED="rworkman"