From dc9279afc2004038a0dc11734d140daa36b6faa5 Mon Sep 17 00:00:00 2001 From: Andrzej Telszewski Date: Fri, 20 Apr 2012 09:13:14 -0400 Subject: office/gnokii: Updated for version 0.6.31. Signed-off-by: dsomero --- office/gnokii/gnokii.SlackBuild | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'office/gnokii/gnokii.SlackBuild') 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 # 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 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 -- cgit v1.2.3