From 6b9f49ed333ff9abf6103a927ff8ab3e1f9c83c9 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Sat, 22 Sep 2012 07:12:09 +0700 Subject: office/rastertospp: Link cups correctly Signed-off-by: Robby Workman --- office/rastertospp/rastertospp.SlackBuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'office') diff --git a/office/rastertospp/rastertospp.SlackBuild b/office/rastertospp/rastertospp.SlackBuild index b2b1b1baff..6adf09c60a 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 -- cgit v1.2.3