system/dymo-cups-drivers: Moved from office + update script.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Thomas Szteliga 2016-08-31 04:57:57 +07:00 committed by Willy Sudiarto Raharjo
parent fe8471ae88
commit 64068de03e
4 changed files with 7 additions and 7 deletions

View file

@ -1,8 +1,8 @@
#!/bin/sh
# Slackware build script for dymo-cups-drivers
# Slackware build script for DYMO Label SDK and CUPS Drivers
# Copyright (c) 2015 Thomas Szteliga <ts@websafe.pl>
# Copyright (c) 2015-2016 Thomas Szteliga <ts@websafe.pl>, Opole, PL
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
@ -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"
@ -88,8 +88,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS COPYING ChangeLog INSTALL LICENSE README docs/DYMO_SDK_for_Linux.rtf \
docs/SAMPLES docs/TestImage.png docs/longtest.txt docs/test.ps docs/test.txt \
docs/testprint.ps $PKG/usr/doc/$PRGNAM-$VERSION
docs/{SAMPLES,TestImage.png,longtest.txt,test.ps,test.txt,testprint.ps} \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install