summaryrefslogtreecommitdiffstats
path: root/libraries/eaccelerator
diff options
context:
space:
mode:
author Willy Sudiarto Raharjo <willysr@gmail.com>2012-09-17 20:15:56 +0700
committer Robby Workman <rworkman@slackbuilds.org>2012-09-24 21:47:29 -0500
commite5e6d40bda82a494b5b24d278f9f94e86a54673c (patch)
tree52f481a420c9b7e4ef26aa4cfd431f4441f74070 /libraries/eaccelerator
parent191281792b9fcbe3bdad98fe98ef0092018899ae (diff)
downloadslackbuilds-e5e6d40bda82a494b5b24d278f9f94e86a54673c.tar.gz
slackbuilds-e5e6d40bda82a494b5b24d278f9f94e86a54673c.tar.xz
libraries/eaccelerator: Upgraded and changed maintainer
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/eaccelerator')
-rw-r--r--libraries/eaccelerator/eaccelerator.SlackBuild33
-rw-r--r--libraries/eaccelerator/eaccelerator.info10
2 files changed, 34 insertions, 9 deletions
diff --git a/libraries/eaccelerator/eaccelerator.SlackBuild b/libraries/eaccelerator/eaccelerator.SlackBuild
index 0052d6788c..b56d4d38b5 100644
--- a/libraries/eaccelerator/eaccelerator.SlackBuild
+++ b/libraries/eaccelerator/eaccelerator.SlackBuild
@@ -1,11 +1,33 @@
#!/bin/sh
# Slackware build script for eaccelerator
+
+# Copyright 2012 Willy Sudiarto Raharjo <willysr@slackware-id.org>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
# Originally written by javivf@gmail.com 2008/07/27
# Updated by sl@not-only-pixel.de 2010/06/24
+# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=eaccelerator
-VERSION=${VERSION:-0.9.6.1}
+VERSION=${VERSION:-42067ac}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,8 +64,8 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
-cd $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.xz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -53,6 +75,9 @@ find . \
phpize
+# locate the php-config installation directory dynamically
+phpconf=$(php-config --prefix)
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -61,7 +86,7 @@ CFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--build=$ARCH-slackware-linux \
--enable-eaccelerator=shared \
- --with-php-config=/usr/bin/php-config
+ --with-php-config=$phpconf/bin/php-config
make
make test
diff --git a/libraries/eaccelerator/eaccelerator.info b/libraries/eaccelerator/eaccelerator.info
index 6279f7ec4b..2a73126ba9 100644
--- a/libraries/eaccelerator/eaccelerator.info
+++ b/libraries/eaccelerator/eaccelerator.info
@@ -1,10 +1,10 @@
PRGNAM="eaccelerator"
-VERSION="0.9.6.1"
+VERSION="42067ac"
HOMEPAGE="http://eaccelerator.net/"
-DOWNLOAD="http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2"
-MD5SUM="32ccd838e06ef5613c2610c1c65ed228"
+DOWNLOAD="ftp://harrier.slackbuilds.org/misc/eaccelerator-eaccelerator-42067ac.tar.xz"
+MD5SUM="f2b1c9fe49ae95e4efb20c5e746eec97"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
-MAINTAINER="Stephan Lucas"
-EMAIL="sl@not-only-pixel.de"
+MAINTAINER="Willy Sudiarto Raharjo"
+EMAIL="willysr@slackware-id.org"