diff options
Diffstat (limited to 'network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild')
-rw-r--r-- | network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild | 30 |
1 files changed, 17 insertions, 13 deletions
diff --git a/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild b/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild index db2a6daa77..c18ba5da89 100644 --- a/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild +++ b/network/pidgin-skypeweb/pidgin-skypeweb.SlackBuild @@ -28,25 +28,22 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=pidgin-skypeweb -VERSION=${VERSION:-1.1} +VERSION=${VERSION:-1.2.2} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +MARCH=$( uname -m ) if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i486 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; + case "$MARCH" in + i?86) export ARCH=i586 ;; + armv7hl) export ARCH=$MARCH ;; + arm*) export ARCH=arm ;; + *) export ARCH=$MARCH ;; esac fi -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -54,6 +51,9 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" +elif [ "$ARCH" = "armv7hl" ]; then + SLKCFLAGS="-O2 -march=armv7-a -mfpu=vfpv3-d16" + LIBDIRSUFFIX="" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -61,6 +61,11 @@ fi set -e +CWD=$(pwd) +TMP=${TMP:-/tmp/SBo} +PKG=$TMP/package-$PRGNAM +OUTPUT=${OUTPUT:-/tmp} + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -74,7 +79,6 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - # Go to skypeweb folder, since there is two plugins in this archive cd skypeweb |