From 64068de03e4e620984036ea5a1d6804588b37327 Mon Sep 17 00:00:00 2001 From: Thomas Szteliga Date: Wed, 31 Aug 2016 04:57:57 +0700 Subject: [PATCH] system/dymo-cups-drivers: Moved from office + update script. Signed-off-by: Willy Sudiarto Raharjo --- {office => system}/dymo-cups-drivers/README | 0 .../dymo-cups-drivers/dymo-cups-drivers.SlackBuild | 14 +++++++------- .../dymo-cups-drivers/dymo-cups-drivers.info | 0 {office => system}/dymo-cups-drivers/slack-desc | 0 4 files changed, 7 insertions(+), 7 deletions(-) rename {office => system}/dymo-cups-drivers/README (100%) rename {office => system}/dymo-cups-drivers/dymo-cups-drivers.SlackBuild (89%) rename {office => system}/dymo-cups-drivers/dymo-cups-drivers.info (100%) rename {office => system}/dymo-cups-drivers/slack-desc (100%) diff --git a/office/dymo-cups-drivers/README b/system/dymo-cups-drivers/README similarity index 100% rename from office/dymo-cups-drivers/README rename to system/dymo-cups-drivers/README diff --git a/office/dymo-cups-drivers/dymo-cups-drivers.SlackBuild b/system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild similarity index 89% rename from office/dymo-cups-drivers/dymo-cups-drivers.SlackBuild rename to system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild index 44c23b3910..d75cb09fca 100644 --- a/office/dymo-cups-drivers/dymo-cups-drivers.SlackBuild +++ b/system/dymo-cups-drivers/dymo-cups-drivers.SlackBuild @@ -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 +# Copyright (c) 2015-2016 Thomas Szteliga , 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 diff --git a/office/dymo-cups-drivers/dymo-cups-drivers.info b/system/dymo-cups-drivers/dymo-cups-drivers.info similarity index 100% rename from office/dymo-cups-drivers/dymo-cups-drivers.info rename to system/dymo-cups-drivers/dymo-cups-drivers.info diff --git a/office/dymo-cups-drivers/slack-desc b/system/dymo-cups-drivers/slack-desc similarity index 100% rename from office/dymo-cups-drivers/slack-desc rename to system/dymo-cups-drivers/slack-desc