diff options
author | Heinz Wiesinger | 2010-05-11 22:24:19 +0200 |
---|---|---|
committer | David Somero | 2010-05-11 22:24:19 +0200 |
commit | b316c99140f31c6e1d129fe77ee46bb1588e785c (patch) | |
tree | 979e1225ea3ee6790079381bf437b493203098f2 /libraries/raptor | |
parent | be2e712f8c68891ab05a3957fbcc340f3679fae6 (diff) | |
download | slackbuilds-b316c99140f31c6e1d129fe77ee46bb1588e785c.tar.gz |
libraries/raptor: Updated for version 1.4.18
Diffstat (limited to 'libraries/raptor')
-rw-r--r-- | libraries/raptor/raptor.SlackBuild | 18 | ||||
-rw-r--r-- | libraries/raptor/raptor.info | 8 |
2 files changed, 17 insertions, 9 deletions
diff --git a/libraries/raptor/raptor.SlackBuild b/libraries/raptor/raptor.SlackBuild index 7b50379c42..c21a20d5de 100644 --- a/libraries/raptor/raptor.SlackBuild +++ b/libraries/raptor/raptor.SlackBuild @@ -1,9 +1,8 @@ #!/bin/sh # Slackware build script for raptor -# Written by ppr:kut <hmwiesinger@gmx.at> -# Copyright 2007 Heinz Wiesinger +# Copyright 2007-2008 Heinz Wiesinger <hmwiesinger@gmx.at> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -27,10 +26,11 @@ # No additional license terms added :) PRGNAM=raptor -VERSION=1.4.16 +VERSION=1.4.18 ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} + CWD=$(pwd) TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM @@ -40,6 +40,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 @@ -51,7 +53,11 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz 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" \ @@ -60,7 +66,9 @@ CXXFLAGS="$SLKCFLAGS" \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ - --disable-static + --disable-static \ + --build=$ARCH-slackware-linux \ + --host=$ARCH-slackware-linux make make install-strip DESTDIR=$PKG diff --git a/libraries/raptor/raptor.info b/libraries/raptor/raptor.info index d14d726729..fd96cee0a4 100644 --- a/libraries/raptor/raptor.info +++ b/libraries/raptor/raptor.info @@ -1,8 +1,8 @@ PRGNAM="raptor" -VERSION="1.4.16" +VERSION="1.4.18" HOMEPAGE="http://librdf.org/" -DOWNLOAD="http://download.librdf.org/source/raptor-1.4.16.tar.gz" -MD5SUM="49c16262e0aed0197a3e60ade7bec205" +DOWNLOAD="http://download.librdf.org/source/raptor-1.4.18.tar.gz" +MD5SUM="284e768eeda0e2898b0d5bf7e26a016e" MAINTAINER="ppr:kut" EMAIL="HMWiesinger@gmx.at" -APPROVED="rworkman" +APPROVED="David Somero" |