summaryrefslogtreecommitdiff
path: root/system/samsung-mfp-drivers/samsung-mfp-drivers.SlackBuild
diff options
context:
space:
mode:
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 64cb89ec87..1ac9e7a9e1 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.