From 1bf7164b91f149a2c5b1a9f60f5044f4d1dd616a Mon Sep 17 00:00:00 2001 From: Aleksandar Samardzic Date: Tue, 11 May 2010 22:23:33 +0200 Subject: libraries/ecore: Updated for version 0.9.9.050 --- libraries/ecore/ecore.SlackBuild | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'libraries/ecore/ecore.SlackBuild') diff --git a/libraries/ecore/ecore.SlackBuild b/libraries/ecore/ecore.SlackBuild index a6f54ac3c4..6f3a92bc97 100644 --- a/libraries/ecore/ecore.SlackBuild +++ b/libraries/ecore/ecore.SlackBuild @@ -2,10 +2,10 @@ # Slackware build script for Ecore -# Written by Aleksandar B. Samardzic +# Written by Aleksandar Samardzic PRGNAM=ecore -VERSION=0.9.9.042 +VERSION=${VERSION:-0.9.9.050} ARCH=${ARCH:-i486} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -19,6 +19,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 @@ -27,17 +29,23 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +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" \ ./configure \ --prefix=/usr \ --sysconfdir=/etc \ - --localstatedir=/var + --localstatedir=/var \ + --mandir=/usr/man \ + --disable-static make make install DESTDIR=$PKG -- cgit v1.2.3