aboutsummaryrefslogtreecommitdiff
path: root/libraries/eaccelerator
diff options
context:
space:
mode:
authorjavivf <javivf@gmail.com>2010-05-13 00:29:10 +0200
committerDavid Somero <xgizzmo@slackbuilds.org>2010-05-13 00:29:10 +0200
commite9374706a102bc727813e41e37e1a7cb0c2721f0 (patch)
treedfd5adf6d59377062ab3b109fa1ea917ede2229f /libraries/eaccelerator
parent86915430cd119189b44e536296d72a3bcb210c66 (diff)
libraries/eaccelerator: Updated for version 0.9.5.3
Diffstat (limited to 'libraries/eaccelerator')
-rw-r--r--libraries/eaccelerator/eaccelerator.SlackBuild15
-rw-r--r--libraries/eaccelerator/eaccelerator.info2
2 files changed, 12 insertions, 5 deletions
diff --git a/libraries/eaccelerator/eaccelerator.SlackBuild b/libraries/eaccelerator/eaccelerator.SlackBuild
index deaacaaafe18..eda898d904ab 100644
--- a/libraries/eaccelerator/eaccelerator.SlackBuild
+++ b/libraries/eaccelerator/eaccelerator.SlackBuild
@@ -17,11 +17,14 @@ OUTPUT=${OUTPUT:-/tmp}
DOCS="AUTHORS COPYING NEWS README"
if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
- SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ SLKCFLAGS="-O2 -march=i686 -mtune=i686"
+ LIBDIRSUFFIX=""
elif [ "$ARCH" = "x86_64" ]; then
- SLKCFLAGS="-O2 -fPIC"
+ SLKCFLAGS="-O2 -fPIC"
+ LIBDIRSUFFIX="64"
fi
rm -rf $PKG
@@ -36,14 +39,16 @@ chmod -R u+w,go+r-w,a-s .
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
+ --libdir=/usr/lib$LIBDIRSUFFIX \
--sysconfdir=/etc \
--localstatedir=/var \
+ --build=$ARCH-slackware-linux \
|| exit 1
make || exit 1
make install DESTDIR=$PKG || exit 1
-install -D -m 755 modules/eaccelerator.so $PKG/usr/lib/php/extensions/eaccelerator.so || exit 1
+install -D -m 755 modules/eaccelerator.so $PKG/usr/lib$LIBDIRSUFFIX/php/extensions/eaccelerator.so || exit 1
mkdir -p $PKG/usr/doc/$APP-$VERSION
cp -a $DOCS $PKG/usr/doc/$APP-$VERSION
@@ -61,4 +66,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
)
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$APP-$VERSION-$ARCH-$BUILD$TAG.tgz
+/sbin/makepkg -l y -c n $OUTPUT/$APP-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/libraries/eaccelerator/eaccelerator.info b/libraries/eaccelerator/eaccelerator.info
index e41cfce98e09..6804d7fb419f 100644
--- a/libraries/eaccelerator/eaccelerator.info
+++ b/libraries/eaccelerator/eaccelerator.info
@@ -2,7 +2,9 @@ PRGNAM="eaccelerator"
VERSION="0.9.5.3"
HOMEPAGE="http://eaccelerator.net/"
DOWNLOAD="http://bart.eaccelerator.net/source/0.9.5.3/eaccelerator-0.9.5.3.tar.bz2"
+DOWNLOAD_x86_64=""
MD5SUM="caf797223739516882f870342f74b935"
+MD5SUM_x86_64=""
MAINTAINER="javivf"
EMAIL="javivf@gmail.com"
APPROVED="David Somero" \ No newline at end of file