summaryrefslogtreecommitdiff
path: root/libraries/e_dbus/e_dbus.SlackBuild
diff options
context:
space:
mode:
authorAleksandar Samardzic <asamardzic@gmail.com>2010-05-11 22:23:32 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:23:32 +0200
commita50ff31ca298c2476aa9aba8ed7079ab2e86e664 (patch)
treee0756e985f55078d95cc69d2d1c6a8c466bdea78 /libraries/e_dbus/e_dbus.SlackBuild
parentcd056f2b4d02db708134f80156a726a7cf9ab0d3 (diff)
downloadslackbuilds-a50ff31ca298c2476aa9aba8ed7079ab2e86e664.tar.gz
libraries/e_dbus: Updated for version 0.5.0.050
Diffstat (limited to 'libraries/e_dbus/e_dbus.SlackBuild')
-rw-r--r--libraries/e_dbus/e_dbus.SlackBuild18
1 files changed, 13 insertions, 5 deletions
diff --git a/libraries/e_dbus/e_dbus.SlackBuild b/libraries/e_dbus/e_dbus.SlackBuild
index d91899e276..a8ae826285 100644
--- a/libraries/e_dbus/e_dbus.SlackBuild
+++ b/libraries/e_dbus/e_dbus.SlackBuild
@@ -2,10 +2,10 @@
# Slackware build script for E_dbus
-# Written by Aleksandar B. Samardzic <asamardzic@matf.bg.ac.yu>
+# Written by Aleksandar Samardzic <asamardzic@gmail.com>
PRGNAM=e_dbus
-VERSION=0.1.0.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