summaryrefslogtreecommitdiff
path: root/office/gnokii/gnokii.SlackBuild
diff options
context:
space:
mode:
authorAndrzej Telszewski <atelszewski@gmail.com>2012-04-20 09:13:14 -0400
committerdsomero <xgizzmo@slackbuilds.org>2012-04-20 09:13:14 -0400
commitdc9279afc2004038a0dc11734d140daa36b6faa5 (patch)
treed4c57c104e62cbd30d822f6d8b9d343cd5c5479f /office/gnokii/gnokii.SlackBuild
parentd496f5e266e2430e9e218e9354efe5072ab1b434 (diff)
downloadslackbuilds-dc9279afc2004038a0dc11734d140daa36b6faa5.tar.gz
office/gnokii: Updated for version 0.6.31.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'office/gnokii/gnokii.SlackBuild')
-rw-r--r--office/gnokii/gnokii.SlackBuild14
1 files changed, 6 insertions, 8 deletions
diff --git a/office/gnokii/gnokii.SlackBuild b/office/gnokii/gnokii.SlackBuild
index ad07283231..cb46cda739 100644
--- a/office/gnokii/gnokii.SlackBuild
+++ b/office/gnokii/gnokii.SlackBuild
@@ -4,7 +4,7 @@
# Copyright (c) 2008 Andrzej Telszewski <atelszewski@gmail.com>
# All rights reserved.
-#
+#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions are
# met:
@@ -27,16 +27,14 @@
# Modified by Robby Workman <rworkman@slackbuilds.org>
PRGNAM=gnokii
-VERSION=${VERSION:-0.6.29}
-BUILD=${BUILD:-2}
+VERSION=${VERSION:-0.6.31}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -75,9 +73,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# http://git.savannah.gnu.org/cgit/gnokii.git/commit/?id=3dac96714fba1f06445c15e34af3a0c3ad7eb1ce
-patch -p1 < $CWD/gnokii-0.6.29-pcsc.patch
-
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -110,6 +105,9 @@ make install DESTDIR=$PKG \
ringtonedocsdir=/usr/doc/$PRGNAM-$VERSION/sample/ringtone \
vcaldocsdir=/usr/doc/$PRGNAM-$VERSION/sample/vCalendar \
+# Change permission so the script can be executed.
+chmod 0755 $PKG/usr/bin/sendsms
+
find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true