diff options
Diffstat (limited to 'office/gnokii/gnokii.SlackBuild')
-rw-r--r-- | office/gnokii/gnokii.SlackBuild | 14 |
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 |