mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/eaccelerator: Upgraded and changed maintainer
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
parent
191281792b
commit
e5e6d40bda
2 changed files with 34 additions and 9 deletions
|
@ -1,11 +1,33 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# Slackware build script for eaccelerator
|
# 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
|
# Originally written by javivf@gmail.com 2008/07/27
|
||||||
# Updated by sl@not-only-pixel.de 2010/06/24
|
# Updated by sl@not-only-pixel.de 2010/06/24
|
||||||
|
# Updated by Willy Sudiarto Raharjo <willysr@slackware-id.org>
|
||||||
|
|
||||||
PRGNAM=eaccelerator
|
PRGNAM=eaccelerator
|
||||||
VERSION=${VERSION:-0.9.6.1}
|
VERSION=${VERSION:-42067ac}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
|
||||||
|
@ -42,8 +64,8 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-$VERSION
|
rm -rf $PRGNAM-$VERSION
|
||||||
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2
|
tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.xz
|
||||||
cd $PRGNAM-$VERSION
|
cd $PRGNAM-$PRGNAM-$VERSION
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
find . \
|
find . \
|
||||||
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
|
||||||
|
@ -53,6 +75,9 @@ find . \
|
||||||
|
|
||||||
phpize
|
phpize
|
||||||
|
|
||||||
|
# locate the php-config installation directory dynamically
|
||||||
|
phpconf=$(php-config --prefix)
|
||||||
|
|
||||||
CFLAGS="$SLKCFLAGS" \
|
CFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
@ -61,7 +86,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--build=$ARCH-slackware-linux \
|
--build=$ARCH-slackware-linux \
|
||||||
--enable-eaccelerator=shared \
|
--enable-eaccelerator=shared \
|
||||||
--with-php-config=/usr/bin/php-config
|
--with-php-config=$phpconf/bin/php-config
|
||||||
|
|
||||||
make
|
make
|
||||||
make test
|
make test
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="eaccelerator"
|
PRGNAM="eaccelerator"
|
||||||
VERSION="0.9.6.1"
|
VERSION="42067ac"
|
||||||
HOMEPAGE="http://eaccelerator.net/"
|
HOMEPAGE="http://eaccelerator.net/"
|
||||||
DOWNLOAD="http://bart.eaccelerator.net/source/0.9.6.1/eaccelerator-0.9.6.1.tar.bz2"
|
DOWNLOAD="ftp://harrier.slackbuilds.org/misc/eaccelerator-eaccelerator-42067ac.tar.xz"
|
||||||
MD5SUM="32ccd838e06ef5613c2610c1c65ed228"
|
MD5SUM="f2b1c9fe49ae95e4efb20c5e746eec97"
|
||||||
DOWNLOAD_x86_64=""
|
DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
REQUIRES=""
|
REQUIRES=""
|
||||||
MAINTAINER="Stephan Lucas"
|
MAINTAINER="Willy Sudiarto Raharjo"
|
||||||
EMAIL="sl@not-only-pixel.de"
|
EMAIL="willysr@slackware-id.org"
|
||||||
|
|
Loading…
Reference in a new issue