diff options
author | Aleksandar Samardzic <asamardzic@gmail.com> | 2010-05-11 22:21:49 +0200 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2010-05-11 22:21:49 +0200 |
commit | 4cca34e333240ca945c5557d5380c1c6989c80a7 (patch) | |
tree | 82d01f5911afee226866afb231a023998612da19 /desktop/enlightenment/enlightenment.SlackBuild | |
parent | 70c4bb5765fb5a9add50c983a19ff74143ed5389 (diff) | |
download | slackbuilds-4cca34e333240ca945c5557d5380c1c6989c80a7.tar.gz |
desktop/enlightenment: Updated for version 0.16.999.050
Diffstat (limited to 'desktop/enlightenment/enlightenment.SlackBuild')
-rw-r--r-- | desktop/enlightenment/enlightenment.SlackBuild | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/desktop/enlightenment/enlightenment.SlackBuild b/desktop/enlightenment/enlightenment.SlackBuild index afe6758080..81b8cc9ca4 100644 --- a/desktop/enlightenment/enlightenment.SlackBuild +++ b/desktop/enlightenment/enlightenment.SlackBuild @@ -2,10 +2,10 @@ # Slackware build script for Enlightenment DR17 -# Written by Aleksandar B. Samardzic <asamardzic@matf.bg.ac.yu> +# Written by Aleksandar Samardzic <asamardzic@gmail.com> PRGNAM=enlightenment -VERSION=0.16.999.042 +VERSION=${VERSION:-0.16.999.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 |