aboutsummaryrefslogtreecommitdiff
path: root/network/efax-gtk/efax-gtk.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2012-04-29 20:00:40 -0400
committerErik Hanson <erik@slackbuilds.org>2012-04-30 00:40:02 -0500
commit15d0ab6a9303c21b927f955cab6edabaef004e8d (patch)
treed4a7f402ee2063334842ba401def744b1750b733 /network/efax-gtk/efax-gtk.SlackBuild
parentb27c9f2108a6d3c681696aa93ff13ead6e09ec17 (diff)
network/efax-gtk: Updated for version 3.2.9.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/efax-gtk/efax-gtk.SlackBuild')
-rw-r--r--network/efax-gtk/efax-gtk.SlackBuild16
1 files changed, 8 insertions, 8 deletions
diff --git a/network/efax-gtk/efax-gtk.SlackBuild b/network/efax-gtk/efax-gtk.SlackBuild
index e7f4e57c920bd..3d8d1c1d69376 100644
--- a/network/efax-gtk/efax-gtk.SlackBuild
+++ b/network/efax-gtk/efax-gtk.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for efax-gtk
-# Copyright 2008-2011 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2008-2012 LukenShiro, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=efax-gtk
-VERSION=${VERSION:-3.2.8}
+VERSION=${VERSION:-3.2.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,14 +90,14 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
-# copy bash scripts to use with efax-gtk
+# Copy bash scripts to use with efax-gtk
mkdir -p $PKG/usr/bin
install -m 0755 $OTHER_CMDS $PKG/usr/bin
-# make some corrections to efax-gtkrc and upstream README
+# Make some corrections to efax-gtkrc and upstream README
sed -i "s|\$sysconfdir\/efax-gtkrc\ or\ |and |g" $PKG/etc/efax-gtkrc
sed -i "s|\$sysconfdir\/efax-gtkrc\ and\ ||g" $PKG/etc/efax-gtkrc
sed -i "s|\$sysconfdir\/efax-gtkrc\ or\ |and |g" $TMP/$PRGNAM-$VERSION/README
@@ -105,7 +105,7 @@ sed -i "s|\$HOME/faxout|\$HOME/.efax-gtk/faxout|g" $TMP/$PRGNAM-$VERSION/README
sed -i "s|\$HOME/faxsent|\$HOME/.efax-gtk/faxsent|g" $TMP/$PRGNAM-$VERSION/README
sed -i "s|\$HOME/faxin|\$HOME/.efax-gtk/faxin|g" $TMP/$PRGNAM-$VERSION/README
-# set a specific $HOME working sub-directory for efax-gtk (do _not_ include $HOME)
+# Set a specific $HOME working sub-directory for efax-gtk (do _not_ include $HOME)
sed -i 's|^#WORK_SUBDIR\:|WORK_SUBDIR: .efax-gtk|g' $PKG/etc/efax-gtkrc
sed -i 's|^WORK_SUBDIR=""|WORK_SUBDIR=".efax-gtk"|g' $PKG/usr/bin/mail_fax
sed -i 's|^WORK_SUBDIR=""|WORK_SUBDIR=".efax-gtk"|g' $PKG/usr/bin/print_fax
@@ -116,8 +116,8 @@ sed -i 's|^#LOG_FILE:|LOG_FILE: efax-gtk.log|g' $PKG/etc/efax-gtkrc
# Don't clobber config file on upgrade
mv $PKG/etc/efax-gtkrc $PKG/etc/efax-gtkrc.new
-# Compress the man pages
find $PKG/usr/man -type f -exec gzip -9 {} \;
+for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
# Documentation for efax-gtk and efax
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
@@ -135,4 +135,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -c n -l y $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}