diff options
-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 7b50379c4216..c21a20d5de8f 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 d14d72672943..fd96cee0a434 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" |