summaryrefslogtreecommitdiff
path: root/system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild
diff options
context:
space:
mode:
authorRuben Schuller <ruben@orgizm.net>2014-03-11 21:06:45 +0700
committerErik Hanson <erik@slackbuilds.org>2014-03-12 12:42:51 -0500
commitd24ca260a2f9552eb848edb4c7ecb8a295d089ab (patch)
tree431a6649d64217ab9cb02d04ac4a045fec16bcaa /system/epson-inkjet-printer-escpr/epson-inkjet-printer-escpr.SlackBuild
parent7c593e18507a92fc4f177fb587fd232e14cacdc8 (diff)
downloadslackbuilds-d24ca260a2f9552eb848edb4c7ecb8a295d089ab.tar.gz
system/epson-inkjet-printer-escpr: Updated for version 1.4.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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.SlackBuild20
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 f37a789061..dcee5d4b7d 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