aboutsummaryrefslogtreecommitdiff
path: root/office/rastertospp/rastertospp.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/rastertospp/rastertospp.SlackBuild')
-rw-r--r--office/rastertospp/rastertospp.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/office/rastertospp/rastertospp.SlackBuild b/office/rastertospp/rastertospp.SlackBuild
index b2b1b1baff27b..6adf09c60adc1 100644
--- a/office/rastertospp/rastertospp.SlackBuild
+++ b/office/rastertospp/rastertospp.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=rastertospp
VERSION=${VERSION:-1.1}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Automatically determine the architecture we're building on:
@@ -72,7 +72,7 @@ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/cups/filter
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
-gcc -Wall -lcupsimage -o $PKG/usr/lib${LIBDIRSUFFIX}/cups/filter/$PRGNAM ./$PRGNAM.c
+gcc -Wall $(cups-config --image --libs) -o $PKG/usr/lib${LIBDIRSUFFIX}/cups/filter/$PRGNAM ./$PRGNAM.c
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true