network/efax-gtk: Updated for version 3.2.9.

Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
This commit is contained in:
LukenShiro 2012-04-29 20:00:40 -04:00 committed by Erik Hanson
parent b27c9f2108
commit 15d0ab6a93
3 changed files with 13 additions and 11 deletions

View File

@ -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.

View File

@ -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}

View File

@ -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"