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.
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.