summaryrefslogtreecommitdiff
path: root/libraries/ORBit2
diff options
context:
space:
mode:
authorDaniel Liljeqvist <dasajev@gmail.com>2010-05-11 22:23:20 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-11 22:23:20 +0200
commit46ed3d4254b3a569d7eb5f9e4352598ccd0f8b6c (patch)
treede3b83776e38aa49fa38385a5b46c6839a824049 /libraries/ORBit2
parentf8ed7ca95187ebb6e2b9bef58283b3c098539a97 (diff)
downloadslackbuilds-46ed3d4254b3a569d7eb5f9e4352598ccd0f8b6c.tar.gz
libraries/ORBit2: Updated for version 2.14.16
Diffstat (limited to 'libraries/ORBit2')
-rw-r--r--libraries/ORBit2/ORBit2.SlackBuild19
-rw-r--r--libraries/ORBit2/ORBit2.info8
2 files changed, 18 insertions, 9 deletions
diff --git a/libraries/ORBit2/ORBit2.SlackBuild b/libraries/ORBit2/ORBit2.SlackBuild
index 1fab85cbe6..9bdd7b401b 100644
--- a/libraries/ORBit2/ORBit2.SlackBuild
+++ b/libraries/ORBit2/ORBit2.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for ORBit2
-# Copyright 2007 Daniel Liljeqvist (dasajev@gmail.com)
+# Copyright 2007-2008 Daniel Liljeqvist (dasajev@gmail.com)
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -23,10 +23,11 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=ORBit2
-VERSION=2.14.5
+VERSION=${VERSION:-2.14.16}
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
@@ -36,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
@@ -47,7 +50,11 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
cd $PRGNAM-$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
@@ -55,7 +62,9 @@ CXXFLAGS="$SLKCFLAGS" \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
- --disable-static
+ --disable-static \
+ --build=$ARCH-slackware-linux \
+ --host=$ARCH-slackware-linux
make
make install-strip DESTDIR=$PKG
diff --git a/libraries/ORBit2/ORBit2.info b/libraries/ORBit2/ORBit2.info
index 2210f39388..8fd3ec6da8 100644
--- a/libraries/ORBit2/ORBit2.info
+++ b/libraries/ORBit2/ORBit2.info
@@ -1,8 +1,8 @@
PRGNAM="ORBit2"
-VERSION="2.14.5"
+VERSION="2.14.16"
HOMEPAGE="http://www.gnome.org/projects/ORBit2/"
-DOWNLOAD="ftp://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-2.14.5.tar.bz2"
-MD5SUM="5b3ca3d7ed13a76c9e7bb4a890fe68af"
+DOWNLOAD="ftp://ftp.gnome.org/pub/GNOME/sources/ORBit2/2.14/ORBit2-2.14.16.tar.bz2"
+MD5SUM="f4898b999f39c79d55c13c0e0f597c71"
MAINTAINER="Daniel Liljeqvist"
EMAIL="dasajev@gmail.com"
-APPROVED="rworkman"
+APPROVED="dsomero"