From 16075c0428e7ce04832b3fa59395c6a17dbf6e0c Mon Sep 17 00:00:00 2001 From: Aleksandar Samardzic Date: Tue, 11 May 2010 22:23:34 +0200 Subject: [PATCH] libraries/eet: Updated for version 1.1.0 --- libraries/eet/eet.SlackBuild | 18 +++++++++++++----- libraries/eet/eet.info | 12 ++++++------ 2 files changed, 19 insertions(+), 11 deletions(-) diff --git a/libraries/eet/eet.SlackBuild b/libraries/eet/eet.SlackBuild index 0cd1001e3d..4fdde204fe 100644 --- a/libraries/eet/eet.SlackBuild +++ b/libraries/eet/eet.SlackBuild @@ -2,10 +2,10 @@ # Slackware build script for Eet -# Written by Aleksandar B. Samardzic +# Written by Aleksandar Samardzic PRGNAM=eet -VERSION=0.9.10.042 +VERSION=${VERSION:-1.1.0} 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 diff --git a/libraries/eet/eet.info b/libraries/eet/eet.info index c7e72c29bc..a3836196eb 100644 --- a/libraries/eet/eet.info +++ b/libraries/eet/eet.info @@ -1,8 +1,8 @@ PRGNAM="eet" -VERSION="0.9.10.042" +VERSION="1.1.0" HOMEPAGE="http://www.enlightenment.org/" -DOWNLOAD="http://download.enlightenment.org/snapshots/2008-01-25/eet-0.9.10.042.tar.gz" -MD5SUM="4bb3707b21b2aafcf1fd0850a6dd83ec" -MAINTAINER="Aleksandar B. Samardzic" -EMAIL="asamardzic@matf.bg.ac.yu" -APPROVED="Alan Hicks,Erik Hanson" +DOWNLOAD="http://download.enlightenment.org/snapshots/2008-09-25/eet-1.1.0.tar.bz2" +MD5SUM="c9f1fd90c3f9886cebd5d38ff9cd0ccf" +MAINTAINER="Aleksandar Samardzic" +EMAIL="asamardzic@gmail.com" +APPROVED="Erik Hanson"