1. VectorLinux Core
  2. vabs

Commits

M0E-lnx  committed 83fba9b

Cups version update

  • Participants
  • Parent commits 17e400c
  • Branches veclinux-7.1

Comments (0)

Files changed (1)

File var/vabs/cups/src/cups.SlackBuild

View file
 
 # CUPS build script by volkerdi@slackware.com.
 NAME="cups"
-VERSION=${VERSION:-1.5.2}
-BUILD=${BUILD:-1vl70}
-LINK=${LINK:-"ftp://ftp.cups.org/pub/$NAME/$VERSION/$NAME-$VERSION-source.tar.bz2"}
+VERSION=${VERSION:-"1.5.3"}
+BUILD=${BUILD:-"1vl70"}
+LINK=${LINK:-"http://ftp.easysw.com/pub/$NAME/$VERSION/$NAME-${VERSION}-source.tar.bz2"}
+
+if [ "$NORUN" != 1 ]; then
+
+# This will not build if we have libiconv installed
+if [ -f "/var/log/packages/libiconv-*" ]; then
+	removepkg libiconv
+	slapt-get -u
+	slapt-get -i -y --reinstall glibc
+fi
 
 # Automatically determine the architecture we're building on:
 if [ -z "$ARCH" ]; then
   --enable-ssl \
   --enable-openssl=yes \
   --enable-gnutls=no \
+  --disable-nls \
   --enable-cdsassl=no \
   --docdir=/usr/doc \
   --without-php \
 requiredbuilder -v -y -s $RELEASEDIR $PKG
 makepkg -c n -l y $RELEASEDIR/$NAME-$VERSION-$ARCH-$BUILD.txz
 
-rm -rf $TMP
+rm -rf $TMP
+fi