summaryrefslogtreecommitdiff
path: root/network/efax-gtk/efax-gtk.SlackBuild
diff options
context:
space:
mode:
authorLukenShiro <lukenshiro@ngi.it>2010-05-13 11:53:32 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-16 22:24:32 -0500
commit3f3a13b027354c93d450233e220a628d2722c7a6 (patch)
tree2cf25e889f2370df9ee252458ef91306946f73eb /network/efax-gtk/efax-gtk.SlackBuild
parent5af5869a48707dea798c6b99e7289bb8fc2647d2 (diff)
downloadslackbuilds-3f3a13b027354c93d450233e220a628d2722c7a6.tar.gz
network/efax-gtk: Updated for version 3.2.2.
Diffstat (limited to 'network/efax-gtk/efax-gtk.SlackBuild')
-rw-r--r--network/efax-gtk/efax-gtk.SlackBuild18
1 files changed, 10 insertions, 8 deletions
diff --git a/network/efax-gtk/efax-gtk.SlackBuild b/network/efax-gtk/efax-gtk.SlackBuild
index 4279f196c8..fd5b4181d8 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-2009 LukenShiro <lukenshiro@ngi.it>
+# Copyright 2008-2010 LukenShiro <lukenshiro@ngi.it>
# 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.0.20}
+VERSION=${VERSION:-3.2.2}
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -33,7 +33,7 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-DOCFILES="AUTHORS COPYING ChangeLog INSTALL README BUGS ABOUT-NLS"
+DOCFILES="ABOUT-NLS AUTHORS BUGS ChangeLog COPYING INSTALL NEWS README"
# original efax's 'fax' shell script's functions are performed by efax-gtk
# itself, so it is not installed as command. Nonetheless maybe can be useful
# for historical purposes as documentation.
@@ -79,8 +79,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-
-find $PKG | xargs file | grep -e "executable" | grep ELF \
+
+find $PKG | xargs 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
@@ -99,10 +99,13 @@ sed -i "s|\$HOME/faxin|\$HOME/.efax-gtk/faxin|g" $TMP/$PRGNAM-$VERSION/README
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
-# adapt efax-gtk.desktop to use right icon from gnome-icon-theme package
+# Adapt efax-gtk.desktop to use right icon from gnome-icon-theme package
sed -i 's|^Icon=stock_send-fax.png|Icon=/usr/share/icons/gnome/24x24/stock/generic/stock_send-fax.png|g' \
$PKG/usr/share/applications/$PRGNAM.desktop
+# Enable LOG file (under WORK_SUBDIR)
+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
@@ -112,10 +115,9 @@ find $PKG/usr/man -type f -exec gzip -9 {} \;
# Documentation for efax-gtk and efax
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/
cp -a $DOCFILES $PKG/usr/doc/$PRGNAM-$VERSION/
-cp -a src/libegg/CREDITS $PKG/usr/doc/$PRGNAM-$VERSION/CREDITS.libegg
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/efax/
cp -a $EFAX_DOCS $PKG/usr/doc/$PRGNAM-$VERSION/efax/
-# it's better to keep configuration file as a sample in doc, too, just in case.
+# It's better to keep configuration file as a sample in doc, too, just in case.
cp -a $PKG/etc/efax-gtkrc.new $PKG/usr/doc/$PRGNAM-$VERSION/efax.gtkrc.sample
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild