summaryrefslogtreecommitdiff
path: root/libraries/efreet
diff options
context:
space:
mode:
authorAleksandar Samardzic <asamardzic@gmail.com>2010-05-11 22:23:35 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:35 +0200
commit46a7dedf1a56fecdbb3213ab69df60ff8bfc1d80 (patch)
tree552cb91a3e86176a2a17ef3717655a3046274106 /libraries/efreet
parent16075c0428e7ce04832b3fa59395c6a17dbf6e0c (diff)
downloadslackbuilds-46a7dedf1a56fecdbb3213ab69df60ff8bfc1d80.tar.gz
libraries/efreet: Updated for version 0.5.0.050
Diffstat (limited to 'libraries/efreet')
-rw-r--r--libraries/efreet/efreet.SlackBuild18
-rw-r--r--libraries/efreet/efreet.info12
2 files changed, 19 insertions, 11 deletions
diff --git a/libraries/efreet/efreet.SlackBuild b/libraries/efreet/efreet.SlackBuild
index c07cd7af0b..e84f1a9f69 100644
--- a/libraries/efreet/efreet.SlackBuild
+++ b/libraries/efreet/efreet.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for Efreet
-# Written by Aleksandar B. Samardzic <asamardzic@matf.bg.ac.yu>
+# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=efreet
-VERSION=0.0.3.042
+VERSION=${VERSION:-0.5.0.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
diff --git a/libraries/efreet/efreet.info b/libraries/efreet/efreet.info
index 084719d8e0..c85441d7e1 100644
--- a/libraries/efreet/efreet.info
+++ b/libraries/efreet/efreet.info
@@ -1,8 +1,8 @@
PRGNAM="efreet"
-VERSION="0.0.3.042"
+VERSION="0.5.0.050"
HOMEPAGE="http://www.enlightenment.org/"
-DOWNLOAD="http://download.enlightenment.org/snapshots/2008-01-25/efreet-0.0.3.042.tar.gz"
-MD5SUM="949c149d280445cda6e38e0de5678326"
-MAINTAINER="Aleksandar B. Samardzic"
-EMAIL="asamardzic@matf.bg.ac.yu"
-APPROVED="Alan Hicks,Erik Hanson"
+DOWNLOAD="http://download.enlightenment.org/snapshots/2008-09-25/efreet-0.5.0.050.tar.bz2"
+MD5SUM="029accd22bb5b014866dedc38269c82c"
+MAINTAINER="Aleksandar Samardzic"
+EMAIL="asamardzic@gmail.com"
+APPROVED="Erik Hanson"