From 15d0ab6a9303c21b927f955cab6edabaef004e8d Mon Sep 17 00:00:00 2001 From: LukenShiro Date: Sun, 29 Apr 2012 20:00:40 -0400 Subject: network/efax-gtk: Updated for version 3.2.9. Signed-off-by: dsomero --- network/efax-gtk/README | 2 ++ network/efax-gtk/efax-gtk.SlackBuild | 16 ++++++++-------- network/efax-gtk/efax-gtk.info | 6 +++--- 3 files changed, 13 insertions(+), 11 deletions(-) (limited to 'network/efax-gtk') diff --git a/network/efax-gtk/README b/network/efax-gtk/README index 5425e12a1c..720c281a0a 100644 --- a/network/efax-gtk/README +++ b/network/efax-gtk/README @@ -8,3 +8,5 @@ doesn't usually need a fax server (i.e. hylafax). See README.SLACKWARE file in efax-gtk's docs directory for configuration notes. + +This requires c++-gtk-utils. diff --git a/network/efax-gtk/efax-gtk.SlackBuild b/network/efax-gtk/efax-gtk.SlackBuild index e7f4e57c92..3d8d1c1d69 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 +# 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} diff --git a/network/efax-gtk/efax-gtk.info b/network/efax-gtk/efax-gtk.info index a315694fb5..183104611c 100644 --- a/network/efax-gtk/efax-gtk.info +++ b/network/efax-gtk/efax-gtk.info @@ -1,8 +1,8 @@ PRGNAM="efax-gtk" -VERSION="3.2.8" +VERSION="3.2.9" HOMEPAGE="http://efax-gtk.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/efax-gtk/efax-gtk-3.2.8.src.tgz" -MD5SUM="275ad1706e5c38e2b153dddd8a16724f" +DOWNLOAD="http://downloads.sourceforge.net/project/efax-gtk/efax-gtk/3.2.9/efax-gtk-3.2.9.src.tgz" +MD5SUM="57fac8815c8f49fc7415d3558eb3f842" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="LukenShiro" -- cgit v1.2.3