summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinz Wiesinger <pprkut@liwjatan.at>2010-05-11 22:26:40 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:26:40 +0200
commitd16f52d16bc7f4c8e88f920111d522b224a97e15 (patch)
tree20c4f415d64acd65adb160ddf44e189657b85193
parent4021b6f4275792b101de424da3c820ccf3a4899a (diff)
downloadslackbuilds-d16f52d16bc7f4c8e88f920111d522b224a97e15.tar.gz
system/gammu: Updated for version 1.21.0
-rw-r--r--system/gammu/README5
-rw-r--r--system/gammu/gammu.SlackBuild12
-rw-r--r--system/gammu/gammu.info10
3 files changed, 15 insertions, 12 deletions
diff --git a/system/gammu/README b/system/gammu/README
index b620345111..abd2fe584d 100644
--- a/system/gammu/README
+++ b/system/gammu/README
@@ -3,4 +3,7 @@ phones from many vendors. Support for different models differs,
but basic functions should work with majority of them. Program
can work with contacts, messages (SMS, EMS and MMS), calendar,
todos, filesystem, integrated radio, camera, etc. It also
-supports daemon mode to send and receive SMSes. \ No newline at end of file
+supports daemon mode to send and receive SMSes.
+
+gammu can make use of postgresql, which is also available from
+Slackbuilds.org
diff --git a/system/gammu/gammu.SlackBuild b/system/gammu/gammu.SlackBuild
index 007c0fa1af..0f986db447 100644
--- a/system/gammu/gammu.SlackBuild
+++ b/system/gammu/gammu.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for gammu
-# Copyright 2008 Heinz Wiesinger <hmwiesinger@gmx.at>
+# Copyright 2008 Heinz Wiesinger <pprkut@liwjatan.at>
# 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=gammu
-VERSION=1.19.0
+VERSION=1.21.0
ARCH=${ARCH:-i486}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -37,6 +37,8 @@ if [ "$ARCH" = "i486" ]; then
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+elif [ "$ARCH" = "x86_64" ]; then
+ SLKCFLAGS="-O2 -fPIC"
fi
set -e
@@ -65,10 +67,8 @@ cd build
make install DESTDIR=$PKG
cd -
-( cd $PKG
- find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
- find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
-)
+find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
+ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
( cd $PKG/usr/man
find . -type f -exec gzip -9 {} \;
diff --git a/system/gammu/gammu.info b/system/gammu/gammu.info
index dc33fbef7c..78386d1302 100644
--- a/system/gammu/gammu.info
+++ b/system/gammu/gammu.info
@@ -1,8 +1,8 @@
PRGNAM="gammu"
-VERSION="1.19.0"
+VERSION="1.21.0"
HOMEPAGE="http://cihar.com/gammu/"
-DOWNLOAD="http://dl.cihar.com/gammu/releases/gammu-1.19.0.tar.bz2"
-MD5SUM="eb5aada7ae3da63be4429626eb8e2884"
+DOWNLOAD="http://dl.cihar.com/gammu/releases/gammu-1.21.0.tar.bz2"
+MD5SUM="c32a3583ab7b99b776d6a684d2fcf3cc"
MAINTAINER="ppr:kut"
-EMAIL="HMWiesinger@gmx.at"
-APPROVED="David Somero"
+EMAIL="pprkut@liwjatan.at"
+APPROVED="Erik Hanson"