diff options
Diffstat (limited to 'system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild')
-rw-r--r-- | system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild b/system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild index f37a789061c9c..dcee5d4b7dbb4 100644 --- a/system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild +++ b/system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for escpr -# Copyright 2013 Ruben Schuller +# Copyright 2013, 2014 Ruben Schuller # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,12 +23,11 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=epson-inkjet-printer-escpr -VERSION=${VERSION:-1.3.0} +VERSION=${VERSION:-1.4.0} +TARNAM=$PRGNAM-$VERSION-1lsb3.2.tar.gz BUILD=${BUILD:-1} TAG=${TAG:-_SBo} -TARNAM=$PRGNAM-$VERSION-1lsb3.2.tar.gz - if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; @@ -66,10 +65,10 @@ tar xvf $CWD/$TARNAM cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; ./bootstrap @@ -82,6 +81,7 @@ CXXFLAGS="$SLKCFLAGS" \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ + --disable-static \ --build=$ARCH-slackware-linux make @@ -91,10 +91,8 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING ChangeLog INSTALL NEWS README* $CWD/README.models \ - $PKG/usr/doc/$PRGNAM-$VERSION +cp -a LICENSE.html COPYING README INSTALL AUTHORS ChangeLog NEWS $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -find $PKG/usr/doc/$PRGNAM-$VERSION -type f -exec chmod 0644 {} \; mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |