summaryrefslogtreecommitdiff
path: root/libraries/ORBit2/ORBit2.SlackBuild
diff options
context:
space:
mode:
authorDaniel Liljeqvist <dasajev@gmail.com>2010-05-11 19:44:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-11 19:44:54 +0200
commit0bd2c7bd693f228913ca2fdb5b7a3de2e1fd3d48 (patch)
treefc2d52d1cbe336d8310a1ea387b8d92670fdbfa9 /libraries/ORBit2/ORBit2.SlackBuild
parente65a5a197e323a98dc1eb29e8641684add62601a (diff)
downloadslackbuilds-0bd2c7bd693f228913ca2fdb5b7a3de2e1fd3d48.tar.gz
libraries/ORBit2: Updated for version 2.14.5
Diffstat (limited to 'libraries/ORBit2/ORBit2.SlackBuild')
-rw-r--r--libraries/ORBit2/ORBit2.SlackBuild23
1 files changed, 13 insertions, 10 deletions
diff --git a/libraries/ORBit2/ORBit2.SlackBuild b/libraries/ORBit2/ORBit2.SlackBuild
index 90584a449a..1fab85cbe6 100644
--- a/libraries/ORBit2/ORBit2.SlackBuild
+++ b/libraries/ORBit2/ORBit2.SlackBuild
@@ -22,12 +22,10 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-set -e
-
PRGNAM=ORBit2
VERSION=2.14.5
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -40,12 +38,14 @@ elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
fi
+set -e
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-cd $TMP || exit 1
+cd $TMP
rm -rf $PRGNAM-$VERSION
-tar -xjvf $CWD/$PRGNAM-$VERSION.tar.bz2 || exit 1
-cd $PRGNAM-$VERSION || exit 1
+tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
+cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@@ -57,13 +57,16 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--disable-static
-make || exit 1
-make install-strip DESTDIR=$PKG || exit 1
+make
+make install-strip DESTDIR=$PKG
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING COPYING.LIB ChangeLog HACKING MAINTAINERS NEWS \
- README* TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING COPYING.LIB ChangeLog HACKING MAINTAINERS NEWS README* \
+ TODO $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+( cd $PKG/usr/doc/$PRGNAM-$VERSION
+ ln -s /usr/share/gtk-doc/html/ORBit2 html
+)
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc