aboutsummaryrefslogtreecommitdiff
path: root/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
diff options
context:
space:
mode:
authorEuan Thoms <euan@potensol.com>2016-11-13 12:46:51 -0600
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-14 16:59:44 +0700
commitf8a44a2a3d2041e3cb57bc1b119f6392cfc5877b (patch)
tree8b329a32d32a678bfe1ec971189c8b47f3a39c79 /system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
parentb5bfcdd52440f99f6a798976891100a703f5ba72 (diff)
system/samsung-mfp-drivers: Updated for version 1.00.36.
Note: change to use /usr/share/ppd/ is mine --rworkman Also note: you will possibly/probably have to completely delete and reinstall your printer after this update (I did) due to the move of the PPD files. Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild')
-rw-r--r--system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild19
1 files changed, 11 insertions, 8 deletions
diff --git a/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild b/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
index 64cb89ec87e77..1ac9e7a9e1e3e 100644
--- a/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
+++ b/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
@@ -23,11 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=samsung-mfp-drivers
-VERSION=${VERSION:-1.00.06}
+VERSION=${VERSION:-1.00.36}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-TARNAM="ULD_Linux"
+TARNAM="uld_v${VERSION}_00.91"
SRCNAM="uld"
if [ -z "$ARCH" ]; then
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM
-tar xvf $CWD/${TARNAM}_V${VERSION}.tar.gz
+tar xvf $CWD/$TARNAM.tar.gz
cd $SRCNAM
chown -R root:root .
find -L . \
@@ -73,18 +73,21 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
mkdir -p $PKG/usr/bin
-cp -a $ARCH/smfpnetdiscovery $PKG/usr/bin
+cp -a $ARCH/smfpnetdiscovery $ARCH/usbresetter $PKG/usr/bin
mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/cups/filter/
cp -a $ARCH/libsane-smfp.so* $ARCH/libscmssc.so \
$PKG/usr/lib${LIBDIRSUFFIX}
-cp -a $ARCH/pstospl $ARCH/pstosplc $ARCH/rastertospl $ARCH/rastertosplc \
+cp -a $ARCH/rastertospl $ARCH/pstosecps \
$PKG/usr/lib${LIBDIRSUFFIX}/cups/filter/
-mkdir -p $PKG/usr/share/cups/model/Samsung
+# Moving these to /usr/share/ppd/ (see below)
+# mkdir -p $PKG/usr/share/cups/model/Samsung
+# cp -a noarch/share/ppd/* $PKG/usr/share/cups/model/Samsung
+
+mkdir -p $PKG/usr/share
cp -a noarch/share/locale $PKG/usr/share
-# This will possibly need to be in /usr/share/ppd/ for cups-1.7.x
-cp -a noarch/share/ppd/* $PKG/usr/share/cups/model/Samsung
+cp -a noarch/share/ppd $PKG/usr/share
# Well, this is braindead, but the libsane-smfp library has this directory
# location compiled into it, so not much we can do about that.