libraries/raptor: Updated for version 1.4.18

This commit is contained in:
Heinz Wiesinger 2010-05-11 22:24:19 +02:00 committed by David Somero
parent be2e712f8c
commit b316c99140
2 changed files with 17 additions and 9 deletions

View file

@ -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

View file

@ -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"