Article 5M22M Current cups build form source code

Current cups build form source code

by
staus
from LinuxQuestions.org on (#5M22M)
I have an Epson "network only" printer that needs avahi and dnssd enabled in the cups.SlackBuild everytime cups is upgraded.
This time the source code for cups-2.3.3op2-x86_64-1 and cups-2.3.3op2-i586-1 would not compile without changes.

Specifically line 28,29, and 79.

original lines 28 and 29:
28 VERSION=$VERSION:-PKGNAM-*-source.tar.?z | cut -f 2 -d -)}
29 BUILD=${BUILD:-2}

I changed them to:
28 VERSION=${VERSION:-2.3.3op2}
29 BUILD=${BUILD:-1}

original line 79:
79 tar xvf $CWD/cups-$VERSION-source.tar.?z || exit 1

Changed to:
79 tar xvf $CWD/cups-$VERSION.tar.lz || exit 1

Maybe this wasn't the best way to fix the slackbuild, but it worked OK.latest?d=yIl2AUoC8zA latest?i=OghSXvtuXqA:9PiyydCngFg:F7zBnMy latest?i=OghSXvtuXqA:9PiyydCngFg:V_sGLiP latest?d=qj6IDK7rITs latest?i=OghSXvtuXqA:9PiyydCngFg:gIN9vFwOghSXvtuXqA
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments